[PATCH] D11393: [X86] Allow X86::COND_NE_OR_P and X86::COND_NP_OR_E to be reversed.

Cong Hou via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 12 13:22:10 PST 2016


congh updated this revision to Diff 44664.
congh added a comment.

Update the patch by bringing back the condition reversal optimization in AnalyzeBranch().


http://reviews.llvm.org/D11393

Files:
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrInfo.h
  test/CodeGen/X86/block-placement.ll
  test/CodeGen/X86/fast-isel-cmp-branch2.ll
  test/CodeGen/X86/fast-isel-cmp-branch3.ll
  test/CodeGen/X86/x86-analyze-branch-jne-jp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11393.44664.patch
Type: text/x-patch
Size: 12737 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160112/ff6fe9de/attachment.bin>


More information about the llvm-commits mailing list