Skip to content

Commit 0b3cf67

Browse files
committed
[DAGCombine] Update tests. NFC.
1 parent a35ab50 commit 0b3cf67

File tree

1 file changed

+3
-24
lines changed

1 file changed

+3
-24
lines changed

llvm/test/CodeGen/X86/shift-i128.ll

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -939,22 +939,16 @@ define i128 @lshr_shl_mask(i128 %a0) {
939939
ret i128 %2
940940
}
941941

942-
define i128 @shift_i128_limited_shamt(i128 noundef %a, i32 noundef %b) {
942+
define i128 @shift_i128_limited_shamt(i128 noundef %a, i32 noundef %b) nounwind {
943943
; i686-LABEL: shift_i128_limited_shamt:
944944
; i686: # %bb.0: # %start
945945
; i686-NEXT: pushl %ebp
946-
; i686-NEXT: .cfi_def_cfa_offset 8
947-
; i686-NEXT: .cfi_offset %ebp, -8
948946
; i686-NEXT: movl %esp, %ebp
949-
; i686-NEXT: .cfi_def_cfa_register %ebp
950947
; i686-NEXT: pushl %ebx
951948
; i686-NEXT: pushl %edi
952949
; i686-NEXT: pushl %esi
953950
; i686-NEXT: andl $-16, %esp
954951
; i686-NEXT: subl $16, %esp
955-
; i686-NEXT: .cfi_offset %esi, -20
956-
; i686-NEXT: .cfi_offset %edi, -16
957-
; i686-NEXT: .cfi_offset %ebx, -12
958952
; i686-NEXT: movl 28(%ebp), %esi
959953
; i686-NEXT: movl 32(%ebp), %eax
960954
; i686-NEXT: movb $6, %dl
@@ -988,7 +982,6 @@ define i128 @shift_i128_limited_shamt(i128 noundef %a, i32 noundef %b) {
988982
; i686-NEXT: popl %edi
989983
; i686-NEXT: popl %ebx
990984
; i686-NEXT: popl %ebp
991-
; i686-NEXT: .cfi_def_cfa %esp, 4
992985
; i686-NEXT: retl $4
993986
;
994987
; x86_64-LABEL: shift_i128_limited_shamt:
@@ -1007,22 +1000,16 @@ start:
10071000
ret i128 %res
10081001
}
10091002

1010-
define i128 @shift_i128_limited_shamt_no_nuw(i128 noundef %a, i32 noundef %b) {
1003+
define i128 @shift_i128_limited_shamt_no_nuw(i128 noundef %a, i32 noundef %b) nounwind {
10111004
; i686-LABEL: shift_i128_limited_shamt_no_nuw:
10121005
; i686: # %bb.0: # %start
10131006
; i686-NEXT: pushl %ebp
1014-
; i686-NEXT: .cfi_def_cfa_offset 8
1015-
; i686-NEXT: .cfi_offset %ebp, -8
10161007
; i686-NEXT: movl %esp, %ebp
1017-
; i686-NEXT: .cfi_def_cfa_register %ebp
10181008
; i686-NEXT: pushl %ebx
10191009
; i686-NEXT: pushl %edi
10201010
; i686-NEXT: pushl %esi
10211011
; i686-NEXT: andl $-16, %esp
10221012
; i686-NEXT: subl $48, %esp
1023-
; i686-NEXT: .cfi_offset %esi, -20
1024-
; i686-NEXT: .cfi_offset %edi, -16
1025-
; i686-NEXT: .cfi_offset %ebx, -12
10261013
; i686-NEXT: movzbl 40(%ebp), %eax
10271014
; i686-NEXT: movl 24(%ebp), %ecx
10281015
; i686-NEXT: movl 28(%ebp), %edx
@@ -1064,7 +1051,6 @@ define i128 @shift_i128_limited_shamt_no_nuw(i128 noundef %a, i32 noundef %b) {
10641051
; i686-NEXT: popl %edi
10651052
; i686-NEXT: popl %ebx
10661053
; i686-NEXT: popl %ebp
1067-
; i686-NEXT: .cfi_def_cfa %esp, 4
10681054
; i686-NEXT: retl $4
10691055
;
10701056
; x86_64-LABEL: shift_i128_limited_shamt_no_nuw:
@@ -1086,22 +1072,16 @@ start:
10861072
ret i128 %res
10871073
}
10881074

1089-
define i128 @shift_i128_limited_shamt_unknown_lhs(i128 noundef %a, i32 noundef %b, i32 noundef %c) {
1075+
define i128 @shift_i128_limited_shamt_unknown_lhs(i128 noundef %a, i32 noundef %b, i32 noundef %c) nounwind {
10901076
; i686-LABEL: shift_i128_limited_shamt_unknown_lhs:
10911077
; i686: # %bb.0: # %start
10921078
; i686-NEXT: pushl %ebp
1093-
; i686-NEXT: .cfi_def_cfa_offset 8
1094-
; i686-NEXT: .cfi_offset %ebp, -8
10951079
; i686-NEXT: movl %esp, %ebp
1096-
; i686-NEXT: .cfi_def_cfa_register %ebp
10971080
; i686-NEXT: pushl %ebx
10981081
; i686-NEXT: pushl %edi
10991082
; i686-NEXT: pushl %esi
11001083
; i686-NEXT: andl $-16, %esp
11011084
; i686-NEXT: subl $48, %esp
1102-
; i686-NEXT: .cfi_offset %esi, -20
1103-
; i686-NEXT: .cfi_offset %edi, -16
1104-
; i686-NEXT: .cfi_offset %ebx, -12
11051085
; i686-NEXT: movl 24(%ebp), %eax
11061086
; i686-NEXT: movl 28(%ebp), %edx
11071087
; i686-NEXT: movl 32(%ebp), %esi
@@ -1143,7 +1123,6 @@ define i128 @shift_i128_limited_shamt_unknown_lhs(i128 noundef %a, i32 noundef %
11431123
; i686-NEXT: popl %edi
11441124
; i686-NEXT: popl %ebx
11451125
; i686-NEXT: popl %ebp
1146-
; i686-NEXT: .cfi_def_cfa %esp, 4
11471126
; i686-NEXT: retl $4
11481127
;
11491128
; x86_64-LABEL: shift_i128_limited_shamt_unknown_lhs:

0 commit comments

Comments
 (0)