[AArch64][InlineAsm]Add Clang support for flag output constraints
authorMingming Liu <mingmingl@google.com>
Tue, 25 Apr 2023 05:13:30 +0000 (22:13 -0700)
committerMingming Liu <mingmingl@google.com>
Thu, 27 Apr 2023 16:39:08 +0000 (09:39 -0700)
commit4ab76b77cee0e27510d5d5cb3072ee7e92d96eec
tree3830a9bb6173b9cac999c1eb6129fee1f43ba2f8
parentcd319489e9118a0c93a88fc6e7a200ec3f161922
[AArch64][InlineAsm]Add Clang support for flag output constraints

- Mention this change in Clang release notes

Before:
- Clang emits "invalid output constraint '=@cceq' in asm" https://gcc.godbolt.org/z/b9crfEo8h

After:
- For aarch64 targets (with __aarch64__ defined), Clang validates and parses flag output constraints to generate LLVM IR.

Differential Revision: https://reviews.llvm.org/D149123
clang/docs/ReleaseNotes.rst
clang/lib/Basic/Targets/AArch64.cpp
clang/lib/Basic/Targets/AArch64.h
clang/test/CodeGen/inline-asm-aarch64-flag-output.c [new file with mode: 0644]
clang/test/Preprocessor/aarch64_asm_flag_output.c [new file with mode: 0644]
clang/test/Preprocessor/init-aarch64.c
clang/test/Preprocessor/predefined-win-macros.c