[PATCH] D94282: [PowerPC] Support ppc-asm-full-reg-names for AIX

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 17 19:28:07 PST 2021


qiucf added a comment.

In D94282#2486270 <https://reviews.llvm.org/D94282#2486270>, @nemanjai wrote:

> Historically, the letter prefixes were always stripped out because AIX and Linux assemblers don't accept them. The mentioned patch added the ability to produce prefixes with percent sign and letter which is actually accepted by the Linux assembler (GNU as). It was thought (not known) at the time that AIX does not accept this `%<letter>` syntax either so the guard for AIX was kept. If you can confirm that the AIX system assembler accepts this syntax, then this is fine.
>
> I suppose it is fine either way since we never took the extra step of making `-ppc-reg-with-percent-prefix` the default, but if we do choose to make that the default at some point, we can only do so if the AIX assembler also supports it.

Thanks for the historical information. I saw GNU as on AIX supports `-mregnames/-mno-regnames` and accepts assembly with regname or precent prefixes, but did not found any such option from AIX system assembler. And LLVM MC assembler also doesn't work since AsmParser for XCOFF is not ready yet.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94282/new/

https://reviews.llvm.org/D94282



More information about the llvm-commits mailing list