aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorKarl-Johan Karlsson <karl-johan.karlsson@ericsson.com>2023-09-28 07:26:39 +0200
committerGitHub <noreply@github.com>2023-09-28 07:26:39 +0200
commitfa3a6859263a488ac94eedd27b1e6f232311e3e9 (patch)
tree6d73c8104ddeef3ea0737440bb4dacaaa1896b9a /clang/lib/Basic/Module.cpp
parentc75e3ea4bd0562c06058f5b5ea4e5102ae3f3842 (diff)
downloadllvm-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