Skip to content
Unverified Commit fa3a6859 authored by Karl-Johan Karlsson's avatar Karl-Johan Karlsson Committed by GitHub
Browse files

[MachineLICM] Clear subregister kill flags (#67240)

When hosting a loop invariant instruction the resulting register must be
live in
all the basic blocks of the loop body and the killed flags of the
register must
be cleared.

Before this patch killed flags of subregister to a hoisted superregister
was not
cleared in the loop body.

This was found in an out of tree target, but the testcase
mlicm-stack-write-check.mir was modified to trigger the case.
parent c75e3ea4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment