[PATCH] D44424: [InstCombine] peek through unsigned FP casts for zero-equality compares (PR36682)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 13 06:22:24 PDT 2018


lebedev.ri created this revision.
lebedev.ri added reviewers: spatel, majnemer, efriedma, arsenm.
Herald added a subscriber: wdng.
lebedev.ri added a dependency: D44416: [InstCombine] [NFC] Add tests for peeking through unsigned FP casts for zero-equality compares (PR36682).

This pattern came up in PR36682 / https://reviews.llvm.org/D44390
https://bugs.llvm.org/show_bug.cgi?id=36682
https://reviews.llvm.org/D44390
https://godbolt.org/g/oKvT5H

See also https://reviews.llvm.org/D44416


Repository:
  rL LLVM

https://reviews.llvm.org/D44424

Files:
  lib/Transforms/InstCombine/InstCombineCompares.cpp
  test/Transforms/InstCombine/cast-unsigned-icmp-eqcmp-0.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44424.138169.patch
Type: text/x-patch
Size: 9006 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180313/42ad5406/attachment.bin>


More information about the llvm-commits mailing list