aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/InterferenceCache.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-04-01 22:22:11 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-04-01 22:22:11 +0000
commit5cad45307e5dee8359dd10e53c19e2b2721a5630 (patch)
tree63a73834772169c6e85446009705a6921631c2fb /llvm/lib/CodeGen/InterferenceCache.cpp
parent88530e656842985f864a722727f3b40fe6c901b0 (diff)
downloadllvm-5cad45307e5dee8359dd10e53c19e2b2721a5630.zip
llvm-5cad45307e5dee8359dd10e53c19e2b2721a5630.tar.gz
llvm-5cad45307e5dee8359dd10e53c19e2b2721a5630.tar.bz2
Tweaks to the icmp+sext-to-shifts optimization to address Frits' comments:
- Localize the check if an icmp has one use to a place where we know we're introducing something that's likely more expensive than a sext from i1. - Add an assert to make sure a case that would lead to a miscompilation is folded away earlier. - Fix a typo. llvm-svn: 128744
Diffstat (limited to 'llvm/lib/CodeGen/InterferenceCache.cpp')
0 files changed, 0 insertions, 0 deletions