aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachinePassManager.cpp
diff options
context:
space:
mode:
authorSam Parker <sam.parker@arm.com>2020-08-21 09:27:21 +0100
committerSam Parker <sam.parker@arm.com>2020-08-21 09:52:52 +0100
commit47251582f5c2ac5962f52bc6ddd3d612c56ab83d (patch)
treeeff61b7c10e976870445358629ac3f10d83fdaf5 /llvm/lib/CodeGen/MachinePassManager.cpp
parente1cd7cac8a36608616d515b64d12f2e86643970d (diff)
downloadllvm-47251582f5c2ac5962f52bc6ddd3d612c56ab83d.zip
llvm-47251582f5c2ac5962f52bc6ddd3d612c56ab83d.tar.gz
llvm-47251582f5c2ac5962f52bc6ddd3d612c56ab83d.tar.bz2
[SimplifyCFG] Cost required selects
Before we speculatively execute a basic block, query the cost of inserting the necessary select instructions against the phi folding threshold. For non-trivial insertions, a more accurate decision can probably be made during machine if-conversion. With minsize we query the CodeSize cost, otherwise we use SizeAndLatency. Differential Revision: https://reviews.llvm.org/D82438
Diffstat (limited to 'llvm/lib/CodeGen/MachinePassManager.cpp')
0 files changed, 0 insertions, 0 deletions