[PATCH] D31398: [X86][X86 intrinsics]Folding cmp(sub(a, b), 0) into cmp(a, b) optimization

michael zuckerman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 15 06:05:59 PDT 2017


m_zuckerman updated this revision to Diff 95377.
m_zuckerman added a comment.

I agree with you that your code is more elegant.


https://reviews.llvm.org/D31398

Files:
  Transforms/InstCombine/InstCombineCalls.cpp
  Transforms/InstCombine/X86FsubCmpCombine.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31398.95377.patch
Type: text/x-patch
Size: 9314 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170415/8442386b/attachment.bin>


More information about the llvm-commits mailing list