diff options
author | Florian Hahn <florian.hahn@arm.com> | 2017-12-01 12:34:16 +0000 |
---|---|---|
committer | Florian Hahn <florian.hahn@arm.com> | 2017-12-01 12:34:16 +0000 |
commit | 30932a3c167be7e4d8be33c2b2216dc366d98c79 (patch) | |
tree | c00f0af891f199485cca7535267bc10eae355398 /llvm/lib/Transforms | |
parent | 9f047795fbf0e9ed760e78c496179cb9552865d7 (diff) | |
download | bcm5719-llvm-30932a3c167be7e4d8be33c2b2216dc366d98c79.tar.gz bcm5719-llvm-30932a3c167be7e4d8be33c2b2216dc366d98c79.zip |
[InstSimplify] More fcmp cases when comparing against negative constants.
Summary:
For known positive non-zero value X:
fcmp uge X, -C => true
fcmp ugt X, -C => true
fcmp une X, -C => true
fcmp oeq X, -C => false
fcmp ole X, -C => false
fcmp olt X, -C => false
Patch by Paul Walker.
Reviewers: majnemer, t.p.northover, spatel, RKSimon
Reviewed By: spatel
Subscribers: fhahn, llvm-commits
Differential Revision: https://reviews.llvm.org/D40012
llvm-svn: 319538
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions