[all-commits] [llvm/llvm-project] 09b1cf: [InstCombine] Add additional test case for (add (z...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Jul 12 07:34:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09b1cfceb62332ebf8e5d319ee048492a709995d
      https://github.com/llvm/llvm-project/commit/09b1cfceb62332ebf8e5d319ee048492a709995d
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-07-12 (Fri, 12 Jul 2024)

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

  Log Message:
  -----------
  [InstCombine] Add additional test case for (add (zext (add nuw X, C2), C1). NFC

Add test where the zext has an additional use, but the entire
expression can be replaced with (zext X). Folding even though there
is an additional use would not increase the number of instructions.



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