[PATCH] D72131: [ARM][LowOverheadLoops] Update liveness info
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 3 05:01:28 PST 2020
samparker marked 2 inline comments as done.
samparker added inline comments.
================
Comment at: llvm/test/CodeGen/Thumb2/LowOverheadLoops/disjoint-vcmp.mir:132
; CHECK: frame-setup CFI_INSTRUCTION offset $r4, -16
- ; CHECK: $r7 = frame-setup tADDrSPi $sp, 2, 14, $noreg
+ ; CHECK: dead $r7 = frame-setup tADDrSPi $sp, 2, 14, $noreg
; CHECK: frame-setup CFI_INSTRUCTION def_cfa $r7, 8
----------------
dmgreen wrote:
> Is this r7 really dead?
Yeah, this is a weird one, it definitely doesn't look dead. I'll look more into CFI_INSTRUCTION.
================
Comment at: llvm/test/CodeGen/Thumb2/LowOverheadLoops/mov-lr-terminator.mir:111
; CHECK: t2IT 0, 8, implicit-def $itstate
- ; CHECK: tPOP_RET 0, killed $cpsr, def $r4, def $pc, implicit killed $itstate
+ ; CHECK: tPOP_RET 0, killed $cpsr, def dead $r4, def $pc, implicit killed $itstate
; CHECK: renamable $r12 = t2LSRri killed renamable $r3, 1, 14, $noreg, $noreg
----------------
dmgreen wrote:
> Is r4 really dead here? It's "returned" (kind of) right?
I reasoned that it's dead as far as liveness goes for the function... I'll have a look to see if there's some special handling or hooks for return values.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72131/new/
https://reviews.llvm.org/D72131
More information about the llvm-commits
mailing list