summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2015-04-10 22:07:04 +0000
committerPhilip Reames <listmail@philipreames.com>2015-04-10 22:07:04 +0000
commit85b36a8157eef76096d4a8e93f74eb05c8dcbc53 (patch)
tree342b3df705f2ab2deeddd807d5ac59ff3274852e /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent942d51a25f6e7b4fdb9515b5388aaab41ab75bcb (diff)
downloadbcm5719-llvm-85b36a8157eef76096d4a8e93f74eb05c8dcbc53.tar.gz
bcm5719-llvm-85b36a8157eef76096d4a8e93f74eb05c8dcbc53.zip
[RewriteStatepointsForGC] Preprocess the IR to remove unreachable blocks and single entry phis
Two related small changes: Various dominance based queries about liveness can get confused if we're talking about unreachable blocks. To avoid reasoning about such cases, just remove them before rewriting statepoints. Remove single entry phis (likely left behind by LCSSA) to reduce the number of live values. Both of these are motivated by http://reviews.llvm.org/D8674 which will be submitted shortly. Differential Revision: http://reviews.llvm.org/D8675 llvm-svn: 234651
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud