diff options
author | Tim Shen <timshen91@gmail.com> | 2016-06-29 20:10:17 +0000 |
---|---|---|
committer | Tim Shen <timshen91@gmail.com> | 2016-06-29 20:10:17 +0000 |
commit | aec68b263dc195424519a21c9f7570388c55d390 (patch) | |
tree | 6575910670e4df78bee7142e59a513b7def31663 /lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall | |
parent | 860a67eb4c788ad71154b57ad4d7ac96a06375d0 (diff) | |
download | bcm5719-llvm-aec68b263dc195424519a21c9f7570388c55d390.tar.gz bcm5719-llvm-aec68b263dc195424519a21c9f7570388c55d390.zip |
[InstCombine] Simplify and correct folding fcmps with the same children
Summary: Take advantage of FCmpInst::Predicate's bit pattern and handle (fcmp *, x, y) | (fcmp *, x, y) and (fcmp *, x, y) & (fcmp *, x, y) more consistently. Also fold more FCmpInst::FCMP_FALSE and FCmpInst::FCMP_TRUE to constants.
Currently InstCombine wrongly folds (fcmp ogt, x, y) | (fcmp ord, x, y) to (fcmp ogt, x, y); this patch also fixes that.
Reviewers: spatel
Subscribers: llvm-commits, iteratee, echristo
Differential Revision: http://reviews.llvm.org/D21775
llvm-svn: 274156
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall')
0 files changed, 0 insertions, 0 deletions