Issue |
79729
|
Summary |
[AArch64] Error when assembling call to function named `ror`
|
Labels |
new issue
|
Assignees |
|
Reporter |
zyedidia
|
The following AArch64 assembly file fails to compile with Clang even though it is valid:
```
ror:
ret
foo:
bl ror
ret
```
```
$ 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 name. Tested with the latest version of LLVM.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs