[all-commits] [llvm/llvm-project] 113222: [X86] Add a test for missed opportunity combine AN...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Aug 3 14:37:00 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11322203b7ba60a85408286fcf9971d1b6cf06a1
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-08-03 (Wed, 03 Aug 2022)

  Changed paths:
    M llvm/test/CodeGen/X86/cmp.ll

  Log Message:
  [X86] Add a test for missed opportunity combine AND32rm+TEST32rr.

If the chain output of the AND32rm is used, the post isel peephole
won't fold it. We should be able to fold it by replacing the chain
use with the chain from a TEST32rm.

More information about the All-commits mailing list