summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/LoopUnroll.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-10 01:08:51 +0000
committerChris Lattner <sabre@nondot.org>2009-11-10 01:08:51 +0000
commitfb7f87d5a37d96b6b6940a8cfc69b1511316311c (patch)
tree4f5c635455faad1e3e79d5878675376a9100390a /llvm/lib/Transforms/Utils/LoopUnroll.cpp
parentb40d3f76a01406b9f21de5e73aa0ff0274b8e96c (diff)
downloadbcm5719-llvm-fb7f87d5a37d96b6b6940a8cfc69b1511316311c.tar.gz
bcm5719-llvm-fb7f87d5a37d96b6b6940a8cfc69b1511316311c.zip
add a new SimplifyInstruction API, which is like ConstantFoldInstruction,
except that the result may not be a constant. Switch jump threading to use it so that it gets things like (X & 0) -> 0, which occur when phi preds are deleted and the remaining phi pred was a zero. llvm-svn: 86637
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnroll.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud