summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-10-14 05:12:50 +0000
committerChris Lattner <sabre@nondot.org>2004-10-14 05:12:50 +0000
commit6299141c4eed8d2a679e5e938471975eba6aad76 (patch)
tree03bf7a8614ad96722914b01e12e2ecc9f822f2c7 /llvm/lib/Transforms
parent69812714cd13a5848694d1b9e19f8801efddfd94 (diff)
downloadbcm5719-llvm-6299141c4eed8d2a679e5e938471975eba6aad76.tar.gz
bcm5719-llvm-6299141c4eed8d2a679e5e938471975eba6aad76.zip
When converting phi nodes into select instructions, we shouldn't promote PHI
nodes unless we KNOW that we are able to promote all of them. In this case promoting the phi to a select is silly because we will always have to do the call conditionally. As such, select promotion is actually a pessimization. llvm-svn: 16972
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud