[PATCH] D44390: [InstCombine] [NFC] Add tests for peeking through FP casts for sign-bit compares (PR36682)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 12 10:04:09 PDT 2018


lebedev.ri updated this revision to Diff 138043.
lebedev.ri marked an inline comment as done.
lebedev.ri added a comment.

Removed 4 patterns:

- `sle 0` which is canonicalized to `slt 1`, so don't test it.
- `sge 0` which is canonicalized to `sgt -1`, so don't test it.
- `sge 1` which is canonicalized to `sgt 0`, so don't test it.
- `sle -1` which is canonicalized to `slt 0`, so don't test it.


Repository:
  rL LLVM

https://reviews.llvm.org/D44390

Files:
  test/Transforms/InstCombine/cast-int-icmp-eq-0.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44390.138043.patch
Type: text/x-patch
Size: 54987 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180312/7e381922/attachment.bin>


More information about the llvm-commits mailing list