[PATCH] D36081: [X86] Improved X86::CMOV to Branch heuristic

Amjad Aboud via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 10:04:13 PDT 2017


aaboud updated this revision to Diff 108946.
aaboud added a comment.

Added couple of tests that represents the bug in PR33954 and cover the change in the patch.
Notice that I needed to modify one of the previous tests.
I measured the performance manually on a small manually written main function, and noticed improvement with the new decision - as explained in the LIT test pr33954.ll.


https://reviews.llvm.org/D36081

Files:
  lib/Target/X86/X86CmovConversion.cpp
  test/CodeGen/X86/pr33954.ll
  test/CodeGen/X86/x86-cmov-converter.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36081.108946.patch
Type: text/x-patch
Size: 10214 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170731/6730650a/attachment.bin>


More information about the llvm-commits mailing list