mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-18 17:17:49 +00:00
8 lines
251 B
Plaintext
8 lines
251 B
Plaintext
|
# RUN: llvm-ml -m32 -filetype=asm %s | FileCheck %s --check-prefix=CHECK-32
|
||
|
# RUN: llvm-ml -m64 -filetype=asm %s | FileCheck %s --check-prefix=CHECK-64
|
||
|
|
||
|
.code
|
||
|
mov eax, [4]
|
||
|
; CHECK-32: mov eax, dword ptr [4]
|
||
|
; CHECK-64: mov eax, dword ptr [rip + 4]
|
||
|
END
|