aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
diff options
context:
space:
mode:
authorIgor Kirillov <igor.kirillov@arm.com>2023-11-16 11:12:10 +0000
committerGitHub <noreply@github.com>2023-11-16 11:12:10 +0000
commit63917e1975bd69ef4084f02d378b0b920046be3a (patch)
treebdfc8131dce8f187cfa52b5d4d04b193c82ef234 /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
parentb57abb721e7a77210fc86d08192a772d21fd0ac2 (diff)
downloadllvm-63917e1975bd69ef4084f02d378b0b920046be3a.zip
llvm-63917e1975bd69ef4084f02d378b0b920046be3a.tar.gz
llvm-63917e1975bd69ef4084f02d378b0b920046be3a.tar.bz2
[MachineLICM] Allow hoisting loads from invariant address (#70796)
Sometimes, loads can appear in a loop after the LICM pass is executed the final time. For example, ExpandMemCmp pass creates loads in a loop, and one of the operands may be an invariant address. This patch extends the pre-regalloc stage MachineLICM by allowing to hoist invariant loads from loops that don't have any stores or calls and allows load reorderings.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions