mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
d15098fdc8
Handle "short" in a case-insensitive fashion in MASM. Required to correctly parse z_Windows_NT-586_asm.asm from the OpenMP runtime. Reviewed By: thakis Differential Revision: https://reviews.llvm.org/D104195
22 lines
338 B
NASM
22 lines
338 B
NASM
; RUN: llvm-ml -filetype=s %s /Fo - | FileCheck %s
|
|
|
|
.code
|
|
|
|
t1:
|
|
jmp short t1_label
|
|
jmp SHORT t1_label
|
|
JmP Short t1_label
|
|
JMP SHORT t1_label
|
|
mov eax, eax
|
|
t1_label:
|
|
ret
|
|
|
|
; CHECK-LABEL: t1:
|
|
; CHECK-NEXT: jmp t1_label
|
|
; CHECK-NEXT: jmp t1_label
|
|
; CHECK-NEXT: jmp t1_label
|
|
; CHECK-NEXT: jmp t1_label
|
|
; CHECK-NEXT: mov eax, eax
|
|
|
|
end
|