This is an archive of the discontinued LLVM Phabricator instance.

[AArch64ExpandPseudos] Preserve renamable state when expanding MOVi64 & co.
ClosedPublic

Authored by fhahn on Nov 10 2019, 1:27 PM.

Details

Summary

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

Diff Detail

Event Timeline

fhahn created this revision.Nov 10 2019, 1:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 10 2019, 1:27 PM
thegameg added inline comments.Nov 10 2019, 2:57 PM
llvm/test/CodeGen/AArch64/expand-movi-renamable.mir
2

You should be able to use -run-pass here.

10

You can also get rid of the IR and only keep MIR here.

fhahn updated this revision to Diff 228667.Nov 11 2019, 4:30 AM

Drop IR from MIR test, use run-pass.

fhahn marked 2 inline comments as done.Nov 11 2019, 4:33 AM
This revision is now accepted and ready to land.Nov 11 2019, 7:22 AM
This revision was automatically updated to reflect the committed changes.