Closed
Description
The following AArch64 assembly file fails to compile with Clang even though it is valid:
ror:
ret
foo:
bl ror
$ clang -c test.s
test.s:5:11: error: expected #imm after shift specifier
bl ror
^
$ gcc -c test.s
$ # no error
ror
or any other aarch64 shift operation should be a valid function/label name. Tested with the latest version of LLVM.