This is an archive of the discontinued LLVM Phabricator instance.

[AArch64]: add 'a' inline asm operand modifier.
ClosedPublic

Authored by manojgupta on May 25 2017, 11:24 AM.

Details

Summary

This is used in the Linux kernel, and effectively just means "print an
address". This brings back r193593.

Diff Detail

Repository
rL LLVM

Event Timeline

manojgupta created this revision.May 25 2017, 11:24 AM
rengolin accepted this revision.May 25 2017, 11:49 AM

Silly inline comment, but otherwise, LGTM. Thanks!

lib/Target/AArch64/AArch64AsmPrinter.cpp
395

why not:

if (ExtraCode && ExtraCode[0] && ExtraCode[0] != 'a')
  return true;
This revision is now accepted and ready to land.May 25 2017, 11:49 AM
manojgupta added a subscriber: srhines.
manojgupta closed this revision.May 25 2017, 11:56 AM