[PATCH] D40012: [InstSimplify] More fcmp cases when comparing against negative constants.

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 06:14:53 PST 2017


paulwalker-arm updated this revision to Diff 124734.
paulwalker-arm edited the summary of this revision.
paulwalker-arm added a comment.

Extended to cover une and oeq conditions.  Added an assert to protect against unintentional refactoring and a TODO for future improvements.


https://reviews.llvm.org/D40012

Files:
  lib/Analysis/InstructionSimplify.cpp
  test/Transforms/InstCombine/cast-int-fcmp-eq-0.ll
  test/Transforms/InstSimplify/floating-point-compare.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40012.124734.patch
Type: text/x-patch
Size: 5131 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171129/513ed973/attachment.bin>


More information about the llvm-commits mailing list