[all-commits] [llvm/llvm-project] 874fbe: [MachineSink] Clear kill flags on operands outside...
Carl Ritson via All-commits
all-commits at lists.llvm.org
Thu Jun 23 22:03:29 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 874fbe2cbbe6f548858d0c8e804eb66ca477697c
https://github.com/llvm/llvm-project/commit/874fbe2cbbe6f548858d0c8e804eb66ca477697c
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2022-06-24 (Fri, 24 Jun 2022)
Changed paths:
M llvm/lib/CodeGen/MachineSink.cpp
A llvm/test/CodeGen/SystemZ/machinelicm-sunk-kill-flags.mir
Log Message:
-----------
[MachineSink] Clear kill flags on operands outside loop
If an instruction is sunk into a loop then any kill flags on
operands declared outside the loop must be cleared as these
will be live for all loop iterations.
Fixes #46827
Reviewed By: MatzeB
Differential Revision: https://reviews.llvm.org/D126754
More information about the All-commits
mailing list