[all-commits] [llvm/llvm-project] fa3a68: [MachineLICM] Clear subregister kill flags (#67240)
Karl-Johan Karlsson via All-commits
all-commits at lists.llvm.org
Wed Sep 27 22:26:53 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fa3a6859263a488ac94eedd27b1e6f232311e3e9
https://github.com/llvm/llvm-project/commit/fa3a6859263a488ac94eedd27b1e6f232311e3e9
Author: Karl-Johan Karlsson <karl-johan.karlsson at ericsson.com>
Date: 2023-09-28 (Thu, 28 Sep 2023)
Changed paths:
M llvm/lib/CodeGen/MachineLICM.cpp
M llvm/test/CodeGen/AArch64/mlicm-stack-write-check.mir
Log Message:
-----------
[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.
More information about the All-commits
mailing list