summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-31 08:40:03 +0000
committerChris Lattner <sabre@nondot.org>2009-01-31 08:40:03 +0000
commit76a63ed0992d99dbd85649eb9d8336c6844b570e (patch)
tree964a56d4b92b48bff7235029479bfe3c3c7ac633 /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parent3e2cb66c562006bc307b5bccc4f44df9e9937b43 (diff)
downloadbcm5719-llvm-76a63ed0992d99dbd85649eb9d8336c6844b570e.tar.gz
bcm5719-llvm-76a63ed0992d99dbd85649eb9d8336c6844b570e.zip
now that all the pieces are in place, teach instcombine's
simplifydemandedbits to simplify instructions with *multiple uses* in contexts where it can get away with it. This allows it to simplify the code in multi-use-or.ll into a single 'add double'. This change is particularly interesting because it will cover up for some common codegen bugs with large integers created due to the recent SROA patch. When working on fixing those bugs, this should be disabled. llvm-svn: 63481
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud