aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineSink.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2023-09-25 10:09:36 +0100
committerGitHub <noreply@github.com>2023-09-25 10:09:36 +0100
commit54e5de08d4beca8a079703f087a7a80eedb2dff0 (patch)
tree162adadc2dad0d4e19baea7608b88336907bbda6 /llvm/lib/CodeGen/MachineSink.cpp
parentaf199ee00db0796bd007e768d9056447d9bef999 (diff)
downloadllvm-54e5de08d4beca8a079703f087a7a80eedb2dff0.zip
llvm-54e5de08d4beca8a079703f087a7a80eedb2dff0.tar.gz
llvm-54e5de08d4beca8a079703f087a7a80eedb2dff0.tar.bz2
[ARM][LSR] Exclude uses outside the loop when favoring postinc. (#67090)
Extra uses for variables outside the loop can mess with the generation of postinc variables. This patch alters the collection of loop invariant fixups in LSR when the target is optimizing for PostInc, to exclude the collection of these extra uses. It is expected that the variable can be rematerialized, which will lead to a more optimal sequence of instructions in the loop.
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions