[AArch64ExpandPseudos] Preserve renamable state when expanding MOVi64 & co.
authorFlorian Hahn <flo@fhahn.com>
Tue, 12 Nov 2019 10:35:31 +0000 (10:35 +0000)
committerFlorian Hahn <flo@fhahn.com>
Tue, 12 Nov 2019 11:29:04 +0000 (11:29 +0000)
commit636412bf31fc4285d63faeea67e4d71e44e3799c
tree00d73cb1d646b9ed2728e19979a9796af0081f02
parent7f1dcc8952e6a1a4ba918159ab86bd787d584930
[AArch64ExpandPseudos] Preserve renamable state when expanding MOVi64 & co.

If the MOVi operand was renamable, the operands of the expanded
instructions are also renamable.

Reviewers: thegameg, samparker, zatrazz

Reviewed By: thegameg

Differential Revision: https://reviews.llvm.org/D70061
llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
llvm/test/CodeGen/AArch64/expand-movi-renamable.mir [new file with mode: 0644]