http://llvm.org/bugs/show_bug.cgi?id=19502
Bug ID: 19502
Summary: ARM64: Misleading diagnostic on bad extend amount of
reg+reg addressing mode
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: AArch64
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
error: index must be a multiple of 4 in range [0,16380].
ldr w1, [x3, w3, sxtw #3]
The problem is actually that the #3 isn't valid for the 32-bit destination and
#0 or #2 are required instead.
error: index must be a multiple of 8 in range [0,32760].
ldr x1, [x3, w3, sxtw #2]
The constant must actually be #0 or #3 and the diagnostic should say that.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs