[PATCH] D112911: Fix the side effect of outlined function when register is implicit and implicit-def
Jin Lin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 12 16:44:11 PST 2021
jinlin added inline comments.
================
Comment at: llvm/test/CodeGen/AArch64/machine-outliner-side-effect-2.mir:19
$x1 = ADDXri $sp, 16, 0
- BL @spam, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $x0, implicit killed $x1, implicit-def $sp, implicit-def dead $x0
+ BL @spam, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $x0, implicit killed $x1, implicit-def $sp, implicit-def $x0
+ renamable $x1 = COPY $x0
----------------
Why do you need to change this test file? With this fix, $x0 should be marked as use.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112911/new/
https://reviews.llvm.org/D112911
More information about the llvm-commits
mailing list