https://bugs.llvm.org/show_bug.cgi?id=33134
Bug ID: 33134
Summary: Invalid LDR instruction with XZR
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: kongy....@gmail.com
CC: llvm-bugs@lists.llvm.org
Constant 0 is optimized to XZR in an ASM load instruction, which is illegal.
$ llc ldr0_aarch64.ll
<inline asm>:1:11: error: invalid operand for instruction
ldr x8, [xzr]
^
note: !srcloc = 67
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs