diff options
author | Karl-Johan Karlsson <karl-johan.karlsson@ericsson.com> | 2023-09-28 07:26:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 07:26:39 +0200 |
commit | fa3a6859263a488ac94eedd27b1e6f232311e3e9 (patch) | |
tree | 6d73c8104ddeef3ea0737440bb4dacaaa1896b9a /clang/lib/Basic/Module.cpp | |
parent | c75e3ea4bd0562c06058f5b5ea4e5102ae3f3842 (diff) | |
download | llvm-fa3a6859263a488ac94eedd27b1e6f232311e3e9.zip llvm-fa3a6859263a488ac94eedd27b1e6f232311e3e9.tar.gz llvm-fa3a6859263a488ac94eedd27b1e6f232311e3e9.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions