[PATCH] D46662: [X86] condition branches folding for three-way conditional codes

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 27 22:25:28 PDT 2018


xur updated this revision to Diff 167430.
xur added a comment.

Using new SubtargetFeature method (suggested by Andrea) to make this pass opt-in for subtargets.
Changed the tests accordingly.


https://reviews.llvm.org/D46662

Files:
  lib/Target/X86/CMakeLists.txt
  lib/Target/X86/X86.h
  lib/Target/X86/X86.td
  lib/Target/X86/X86CondBrFolding.cpp
  lib/Target/X86/X86Subtarget.h
  lib/Target/X86/X86TargetMachine.cpp
  test/CodeGen/X86/O3-pipeline.ll
  test/CodeGen/X86/condbr_if.ll
  test/CodeGen/X86/condbr_switch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46662.167430.patch
Type: text/x-patch
Size: 33056 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180928/2601b006/attachment.bin>


More information about the llvm-commits mailing list