aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/SimplifyCFG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-03-30 19:10:12 +0000
committerChris Lattner <sabre@nondot.org>2004-03-30 19:10:12 +0000
commit6f2ab04e91b191e4631bc8c6a526dcb78c439e8a (patch)
treec2c064ab66ee419f61924dd75a2ef87fc865437c /lib/Transforms/Utils/SimplifyCFG.cpp
parent5abd61f6d94bc9eab30778e05e69781a0d07781a (diff)
Fix a fairly major performance problem. If a PHI node had a constant as
an incoming value from a block, the selector would evaluate the constant at the TOP of the block instead of at the end of the block. This made the live range for the constant span the entire block, increasing register pressure needlessly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12542 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions