[all-commits] [llvm/llvm-project] 36b4b9: [X86] Support immediate folding for CCMP/CTEST (#8...

Freddy Ye via All-commits all-commits at lists.llvm.org
Thu Mar 28 03:54:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36b4b9d988ff1e82758fd5a462120086d21989e7
      https://github.com/llvm/llvm-project/commit/36b4b9d988ff1e82758fd5a462120086d21989e7
  Author: Freddy Ye <freddy.ye at intel.com>
  Date:   2024-03-28 (Thu, 28 Mar 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    A llvm/test/CodeGen/X86/apx/foldimmediate.mir

  Log Message:
  -----------
  [X86] Support immediate folding for CCMP/CTEST (#86616)

E.g.
%0:gr32 = MOV32ri 81
CTEST32rr %0, %1, 2, 10, implicit-def $eflags, implicit $eflags
=>
CTEST32ri %1, 81, 2, 10, implicit-def $eflags, implicit $eflags



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