This is an archive of the discontinued LLVM Phabricator instance.

[AsmPrinter] hoist %a output template to base class for ARM+Aarch64
ClosedPublic

Authored by nickdesaulniers on Apr 17 2019, 2:58 PM.

Details

Summary

X86 is quite complicated; so I intend to leave it as is. ARM+Aarch64 do
basically the same thing (Aarch64 did not correctly handle immediates,
ARM has a test llvm/test/CodeGen/ARM/2009-04-06-AsmModifier.ll that uses
%a with an immediate) for a flag that should be target independent
anyways.

Diff Detail

Repository
rL LLVM

Event Timeline

nickdesaulniers retitled this revision from hoist %a output template to base class for ARM+Aarch64 to [AsmPrinter] hoist %a output template to base class for ARM+Aarch64.Apr 17 2019, 2:58 PM
echristo accepted this revision.Apr 17 2019, 3:00 PM

LGTM.

This revision is now accepted and ready to land.Apr 17 2019, 3:00 PM
This revision was automatically updated to reflect the committed changes.