Skip to content

Commit c231d98

Browse files
committed
adjust another test
1 parent a3f5003 commit c231d98

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

llvm/test/CodeGen/X86/win64_frame.ll

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc < %s -mtriple=x86_64-pc-win32 | FileCheck %s
3-
; RUN: llc < %s -mtriple=x86_64-pc-win32 -mattr=+sahf | FileCheck %s
2+
; RUN: llc < %s -mtriple=x86_64-pc-win32 | FileCheck --check-prefixes=CHECK,WIN64 %s
3+
; RUN: llc < %s -mtriple=x86_64-pc-win32 -mattr=+sahf | FileCheck --check-prefixes=CHECK,WIN64 %s
44
; RUN: llc < %s -mtriple=x86_64-uefi | FileCheck %s
55
; RUN: llc < %s -mtriple=x86_64-uefi -mattr=+sahf | FileCheck %s
66

@@ -101,7 +101,8 @@ define void @f5() "frame-pointer"="all" {
101101
; CHECK-NEXT: .seh_endprologue
102102
; CHECK-NEXT: leaq -92(%rbp), %rcx
103103
; CHECK-NEXT: callq external
104-
; CHECK-NEXT: nop
104+
; UEFI does not have SEH, so does not require NOP
105+
; WIN64-NEXT: nop
105106
; CHECK-NEXT: .seh_startepilogue
106107
; CHECK-NEXT: addq $336, %rsp # imm = 0x150
107108
; CHECK-NEXT: popq %rbp
@@ -125,7 +126,8 @@ define void @f6(i32 %p, ...) "frame-pointer"="all" {
125126
; CHECK-NEXT: .seh_endprologue
126127
; CHECK-NEXT: leaq -92(%rbp), %rcx
127128
; CHECK-NEXT: callq external
128-
; CHECK-NEXT: nop
129+
; UEFI does not have SEH, so does not require NOP
130+
; WIN64-NEXT: nop
129131
; CHECK-NEXT: .seh_startepilogue
130132
; CHECK-NEXT: addq $336, %rsp # imm = 0x150
131133
; CHECK-NEXT: popq %rbp

0 commit comments

Comments
 (0)