[all-commits] [llvm/llvm-project] a39a38: [InstCombine] Thwart complexity-based canonicaliza...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed May 8 20:36:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a39a382755c8cf27ecd9a646e720610f48dc09ad
      https://github.com/llvm/llvm-project/commit/a39a382755c8cf27ecd9a646e720610f48dc09ad
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-09 (Thu, 09 May 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/add.ll

  Log Message:
  -----------
  [InstCombine] Thwart complexity-based canonicalization (NFC)

These tests did not test what they were supposed to. The transform
fails to actually handle the commuted cases.


  Commit: 0d335f78e45341db53d9f956adcebbb2d2616c9a
      https://github.com/llvm/llvm-project/commit/0d335f78e45341db53d9f956adcebbb2d2616c9a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-09 (Thu, 09 May 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
    M llvm/test/Transforms/InstCombine/add.ll

  Log Message:
  -----------
  [InstCombine] Handle more commuted cases in matchesSquareSum()


Compare: https://github.com/llvm/llvm-project/compare/b910bebc300d...0d335f78e453

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list