AArch64/GlobalISel: Fix verifier error after selecting returnaddress
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 6 Aug 2020 17:10:08 +0000 (13:10 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 6 Aug 2020 17:18:05 +0000 (13:18 -0400)
commiteae9c541484b75e4b3514ed47344adf3352f5d40
treef2d3b1343ac88e73b34ce54e2a7c780a43658908
parent3b93464dcf2f4bcaa4a8fe3d888fee027aa2100b
AArch64/GlobalISel: Fix verifier error after selecting returnaddress

This was caching the wrong register to re-use later.
llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/GlobalISel/select-returnaddress-liveins.mir