This patch adds the predicate-as-counter registers pn0-pn15 to the
list of supported registers used when writing inline assembly.
Tests added to
clang/test/CodeGen/aarch64-sve-inline-asm.c
|  Differential  D156115  
[Clang][SVE] Permit specific predicate-as-counter registers in inline assembly Authored by david-arm on Jul 24 2023, 6:04 AM. 
Details This patch adds the predicate-as-counter registers pn0-pn15 to the Tests added to clang/test/CodeGen/aarch64-sve-inline-asm.c 
Diff Detail 
 Event Timeline
 
 | |||||||||||||||
Could you also add a RUN line that compiles this to asm, just to make sure that LLVM accepts the inline asm syntax? There don't need to be any checks for the output.
This then probably also requires a REQUIRES: aarch64-registered-target.