summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
diff options
context:
space:
mode:
authorMichael Kuperstein <mkuper@google.com>2016-12-29 23:11:19 +0000
committerMichael Kuperstein <mkuper@google.com>2016-12-29 23:11:19 +0000
commitff36baefe7800283997f418aa22471890317c748 (patch)
tree7ba9bca56764805b988fe87b8f16b5185c12e314 /llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
parent556609296341c2a09fe650c2a1102d0d89458f75 (diff)
downloadbcm5719-llvm-ff36baefe7800283997f418aa22471890317c748.tar.gz
bcm5719-llvm-ff36baefe7800283997f418aa22471890317c748.zip
[LICM] Compute exit blocks for promotion eagerly. NFC.
This moves the exit block and insertion point computation to be eager, instead of after seeing the first scalar we can promote. The cost is relatively small (the computation happens anyway, see discussion on D28147), and the code is easier to follow, and can bail out earlier if there's a catchswitch present. llvm-svn: 290729
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud