[PATCH] D44367: [InstCombine] peek through FP casts for sign-bit compares (PR36682)
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 12 13:34:36 PDT 2018
spatel updated this revision to Diff 138088.
spatel added a comment.
Patch updated:
This is only a rebase with the new tests from https://reviews.llvm.org/rL327301 and deleting the redundant ones.
Should we handle x < 1, x > 0, x == 0, and x != 0 in this patch too?
https://reviews.llvm.org/D44367
Files:
lib/Transforms/InstCombine/InstCombineCompares.cpp
test/Transforms/InstCombine/cast-int-icmp-eq-0.ll
test/Transforms/InstCombine/icmp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44367.138088.patch
Type: text/x-patch
Size: 15209 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180312/409ca050/attachment.bin>
More information about the llvm-commits
mailing list