diff options
author | Igor Kirillov <igor.kirillov@arm.com> | 2023-11-27 14:37:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-27 14:37:18 +0000 |
commit | 839abdb0d293a87a8bf9a298c9d5c29845fd59b2 (patch) | |
tree | e1aba5a1d6afffc1b0deb06d05785fd4e52d2961 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | ae10baf0a0dff53837c3729b8bde64505f54f7aa (diff) | |
download | llvm-839abdb0d293a87a8bf9a298c9d5c29845fd59b2.zip llvm-839abdb0d293a87a8bf9a298c9d5c29845fd59b2.tar.gz llvm-839abdb0d293a87a8bf9a298c9d5c29845fd59b2.tar.bz2 |
[MachineLICM] Fix incorrect CSE on hoisted const load (#73007)
When hoisting an invariant load, we should not combine it with an
existing load through common subexpression elimination (CSE). This is
because there might be memory-changing instructions between the existing
load and the end of the block entering the loop.
Fixes https://github.com/llvm/llvm-project/issues/72855
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions