mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 21:45:16 +00:00
04aaab5ef5
scale factors in memory addresses. As it does for .att_syntax. It was producing: Assertion failed: (((Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8)) && "Invalid scale!"), function CreateMem, file /Volumes/SandBox/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp, line 1133. rdar://14967214 llvm-svn: 199942
12 lines
380 B
ArmAsm
12 lines
380 B
ArmAsm
// RUN: not llvm-mc -triple x86_64-unknown-unknown %s 2> %t.err
|
|
// RUN: FileCheck < %t.err %s
|
|
|
|
.intel_syntax
|
|
|
|
// CHECK: error: scale factor in address must be 1, 2, 4 or 8
|
|
lea rax, [rdi + rdx*64]
|
|
// CHECK: error: scale factor in address must be 1, 2, 4 or 8
|
|
lea rax, [rdi + rdx*32]
|
|
// CHECK: error: scale factor in address must be 1, 2, 4 or 8
|
|
lea rax, [rdi + rdx*16]
|