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

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