[PATCH] D149123: [AArch64][InlineAsm]Add Clang support for flag output constraints

Mingming Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 25 00:03:09 PDT 2023


mingmingl added a comment.

While testing this patch 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 yet (for x86 or aarch64).

`/bin/clang -cc1 -O1 -S -triple=aarch64 file.c` and `/bin/clang -cc1 -O2 -S -triple=aarch64 file.c` works.

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


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

https://reviews.llvm.org/D149123



More information about the cfe-commits mailing list