[PATCH] D149032: [InlineAsm][AArch64]Add backend support for flag output parameters

Mingming Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 24 23:57:30 PDT 2023


mingmingl added a comment.

While testing D149123 <https://reviews.llvm.org/D149123> with `./bin/clang -cc1 -S -triple=aarch64 inline-asm-aarch64-flag-output.c` (which invokes global-isel for instruction selection according to `print-after-all` output), turns out GlobalISel doesn't support flag output (for x86 and aarch64) yet.

`/bin/clang -cc1 -O1 -S -triple=aarch64 file.c` and `/bin/clang -cc1 -O2 -S -triple=aarch64 file.c` works (gives the assembly output)

I filed https://github.com/llvm/llvm-project/issues/62343 to track but think the issue is a non-blocker of this patch and D149123 <https://reviews.llvm.org/D149123> for now.


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

https://reviews.llvm.org/D149032



More information about the llvm-commits mailing list