1 ; RUN: llvm-ml -m32 -filetype=s %s /Fo - | FileCheck %s --check-prefixes=CHECK,CHECK-32
2 ; RUN: llvm-ml -m64 -filetype=s %s /Fo - | FileCheck %s --check-prefixes=CHECK,CHECK-64
15 ; CHECK-32: mov eax, dword ptr [foo]
16 ; CHECK-64: mov eax, dword ptr [rip + foo]
21 ; CHECK-32: mov eax, dword ptr [foo]
22 ; CHECK-64: mov eax, dword ptr [rip + foo]
27 ; CHECK-32: mov eax, dword ptr [foo+2]
28 ; CHECK-64: mov eax, dword ptr [rip + foo+2]
33 ; CHECK-32: mov eax, dword ptr [foo+2]
34 ; CHECK-64: mov eax, dword ptr [rip + foo+2]
39 ; CHECK: mov eax, dword ptr [4]
44 ; CHECK: mov eax, dword ptr [ebx + foo]
49 ; CHECK: mov eax, dword ptr [bar]
54 ; CHECK: mov eax, dword ptr [t8]