summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-10-01 10:54:05 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-10-01 10:54:05 +0000
commit82a57543d6d610713c56e8e7ce8c73ca810c39eb (patch)
treeb345cbc268923c1696ae468344cfe6ae6ccc18f3 /llvm/lib/Transforms/Utils/SimplifyCFG.cpp
parenta8243e9aa25bdd4eb6b7810c7c056b0a635fced4 (diff)
downloadbcm5719-llvm-82a57543d6d610713c56e8e7ce8c73ca810c39eb.tar.gz
bcm5719-llvm-82a57543d6d610713c56e8e7ce8c73ca810c39eb.zip
Factor the PHI and select speculation into a separate rewriter. This
could probably be factored still further to hoist this logic into a generic helper, but currently I don't have particularly clean ideas about how to handle that. This at least allows us to drop custom load rewriting from the speculation logic, which in turn allows the existing load rewriting logic to fire. In theory, this could enable vector promotion or other tricks after speculation occurs, but I've not dug into such issues. This is primarily just cleaning up the factoring of the code and the resulting logic. llvm-svn: 164933
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud