Skip to content
Unverified Commit 839abdb0 authored by Igor Kirillov's avatar Igor Kirillov Committed by GitHub
Browse files

[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
parent ae10baf0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment