[PATCH] D111285: Fix invalid Kill on callee save on RISC-V
David Callahan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 6 19:06:41 PDT 2021
david2050 added a comment.
An example of incorrect code in baseline is below where the spill of X1 is marked killed but is live to the following SW.
Function Live Ins: $x1
bb.0.entry:
liveins: $x1
$x2 = frame-setup ADDI $x2, -32
CFI_INSTRUCTION def_cfa_offset 32
SD killed $x1, $x2, 24
SD killed $x8, $x2, 16
CFI_INSTRUCTION offset $x1, -8
CFI_INSTRUCTION offset $x8, -16
$x8 = frame-setup ADDI $x2, 32
CFI_INSTRUCTION def_cfa $x8, 0
SW killed renamable $x1, $x8, -20 :: (store 4 into %ir.a)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111285/new/
https://reviews.llvm.org/D111285
More information about the llvm-commits
mailing list