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

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 25 17:07:57 PDT 2018


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

This patch integrated Craig's suggestion to move analyzeMBB() to X86CondBrFolding class.
Also reformatted the code using clang-format.


https://reviews.llvm.org/D46662

Files:
  lib/Target/X86/CMakeLists.txt
  lib/Target/X86/X86.h
  lib/Target/X86/X86CondBrFolding.cpp
  lib/Target/X86/X86TargetMachine.cpp
  test/CodeGen/X86/2007-02-16-BranchFold.ll
  test/CodeGen/X86/O3-pipeline.ll
  test/CodeGen/X86/condbr_if.ll
  test/CodeGen/X86/condbr_switch.ll
  test/CodeGen/X86/speculative-load-hardening-indirect.ll
  test/CodeGen/X86/switch-bt.ll
  test/CodeGen/X86/switch-density.ll
  test/CodeGen/X86/switch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46662.167030.patch
Type: text/x-patch
Size: 33915 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180926/69501ca6/attachment.bin>


More information about the llvm-commits mailing list