aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJan Ječmen <JanJecmen@users.noreply.github.com>2024-12-04 11:09:19 +0100
committerGitHub <noreply@github.com>2024-12-04 11:09:19 +0100
commit78db4e9f7b93953e425b3b69636925a557bff7eb (patch)
tree93ce85add7828e8f477299fa5dc4b0258f8eadb6 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent2202f0e093d84081ff098c6720bc8e2302a56061 (diff)
downloadllvm-78db4e9f7b93953e425b3b69636925a557bff7eb.zip
llvm-78db4e9f7b93953e425b3b69636925a557bff7eb.tar.gz
llvm-78db4e9f7b93953e425b3b69636925a557bff7eb.tar.bz2
[NFC][IRCE] Don't require LoopStructure to determine IRCE profitability (#116384)
This refactoring hoists the profitability check earlier in the pipeline, so that for loops that are not profitable to transform there is no iteration over the basic blocks or LoopStructure computation. Motivated by PR #104659 that tweaks how the profitability of individual branches is evaluated.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions