[TwoAddressInstructionPass] Update existing physreg live intervals
authorJay Foad <jay.foad@amd.com>
Thu, 4 Nov 2021 13:43:09 +0000 (13:43 +0000)
committerJay Foad <jay.foad@amd.com>
Fri, 5 Nov 2021 21:20:30 +0000 (21:20 +0000)
commitbdaa181007a46d317a1665acb8234eddeee82815
treef2382429fc7c6a4113c72468bd0c9b9ec3744b57
parent7a189fb2678c5a690cda5c0bb75efa70edf2e384
[TwoAddressInstructionPass] Update existing physreg live intervals

In TwoAddressInstructionPass::processTiedPairs with
-early-live-intervals, update any preexisting physreg live intervals,
as well as virtreg live intervals. By default (without
-precompute-phys-liveness) physreg live intervals only exist for
registers that are live-in to some basic block.

Differential Revision: https://reviews.llvm.org/D113191
llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
llvm/test/CodeGen/ARM/inlineasm-operand-implicit-cast.ll
llvm/test/CodeGen/Thumb/emergency-spill-slot.ll
llvm/test/CodeGen/X86/inline-asm-A-constraint.ll