summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/TransformInternals.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-14 22:11:52 +0000
committerChris Lattner <sabre@nondot.org>2002-08-14 22:11:52 +0000
commit768c2b6bfe3f865e912ad2eadadc64c33c25f4cf (patch)
tree3fc349a623fdc6c44e154cf7adc19a71d0065990 /llvm/lib/Transforms/TransformInternals.h
parent313fd777678b00f663f15a533ab92510dbe96058 (diff)
downloadbcm5719-llvm-768c2b6bfe3f865e912ad2eadadc64c33c25f4cf.tar.gz
bcm5719-llvm-768c2b6bfe3f865e912ad2eadadc64c33c25f4cf.zip
Avoid creating 'load X, 0' instead of just 'load X'
This _trivial_ change causes GCSE and LICM to be much more effective at hoisting loads. Before it would not be able to eliminate 'load X' if there was just a dominating 'load X, 0' because the expressions were not identical. llvm-svn: 3337
Diffstat (limited to 'llvm/lib/Transforms/TransformInternals.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud