[PATCH] D72131: [ARM][LowOverheadLoops] Update liveness info
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 3 08:59:51 PST 2020
samparker marked an inline comment 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
----------------
samparker wrote:
> 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.
So this looks okay to me, just because the input code labels tPUSH as killing its operands even though the CFI pseudo instructions use them. LiveRegs works on MachineInstrs, whereas CFI is some pseudo MC instruction which doesn't even contain MC operands.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72131/new/
https://reviews.llvm.org/D72131
More information about the llvm-commits
mailing list