Skip to content

Commit 6a6335f

Browse files
committed
[X86] bool-vector.ll - add nounwind to silence cfi noise
1 parent f3c31d7 commit 6a6335f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

llvm/test/CodeGen/X86/bool-vector.ll

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+avx2 | FileCheck %s --check-prefix=AVX2
77
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx2 | FileCheck %s --check-prefix=AVX2
88

9-
define i32 @PR15215_bad(<4 x i32> %input) {
9+
define i32 @PR15215_bad(<4 x i32> %input) nounwind {
1010
; X86-LABEL: PR15215_bad:
1111
; X86: # %bb.0: # %entry
1212
; X86-NEXT: movzbl {{[0-9]+}}(%esp), %eax
@@ -59,12 +59,10 @@ entry:
5959
ret i32 %2
6060
}
6161

62-
define i32 @PR15215_good(<4 x i32> %input) {
62+
define i32 @PR15215_good(<4 x i32> %input) nounwind {
6363
; X86-LABEL: PR15215_good:
6464
; X86: # %bb.0: # %entry
6565
; X86-NEXT: pushl %esi
66-
; X86-NEXT: .cfi_def_cfa_offset 8
67-
; X86-NEXT: .cfi_offset %esi, -8
6866
; X86-NEXT: movl {{[0-9]+}}(%esp), %eax
6967
; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
7068
; X86-NEXT: movl {{[0-9]+}}(%esp), %edx
@@ -77,7 +75,6 @@ define i32 @PR15215_good(<4 x i32> %input) {
7775
; X86-NEXT: leal (%edx,%ecx,4), %ecx
7876
; X86-NEXT: leal (%ecx,%eax,8), %eax
7977
; X86-NEXT: popl %esi
80-
; X86-NEXT: .cfi_def_cfa_offset 4
8178
; X86-NEXT: retl
8279
;
8380
; X64-LABEL: PR15215_good:

0 commit comments

Comments
 (0)