aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/InterferenceCache.cpp
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2014-02-06 04:09:06 +0000
committerJuergen Ributzka <juergen@apple.com>2014-02-06 04:09:06 +0000
commitfa0eba6c8b2b7abfd498476e65485e8c4f6a24af (patch)
tree001ace2bd436998bb16a8354d58d8cb5cbdc0050 /llvm/lib/CodeGen/InterferenceCache.cpp
parent774c6d03b2b0a0bf20c017756c988e7ad5747953 (diff)
downloadllvm-fa0eba6c8b2b7abfd498476e65485e8c4f6a24af.zip
llvm-fa0eba6c8b2b7abfd498476e65485e8c4f6a24af.tar.gz
llvm-fa0eba6c8b2b7abfd498476e65485e8c4f6a24af.tar.bz2
[DAG] Don't pull the binary operation though the shift if the operands have opaque constants.
During DAGCombine visitShiftByConstant assumes that certain binary operations with only constant operands can always be folded successfully. This is no longer true when the constant is opaque. This commit fixes visitShiftByConstant by not performing the optimization for opaque constants. Otherwise we would end up in an infinite DAGCombine loop. llvm-svn: 200900
Diffstat (limited to 'llvm/lib/CodeGen/InterferenceCache.cpp')
0 files changed, 0 insertions, 0 deletions