8
8
// Thanks to poison semantics, this doesn't even need branches.
9
9
10
10
// CHECK-LABEL: @checked_sub_unsigned
11
- // CHECK-SAME: (i16 noundef %a, i16 noundef %b)
11
+ // CHECK-SAME: (i16{{.*}} %a, i16{{.*}} %b)
12
12
#[ no_mangle]
13
13
pub fn checked_sub_unsigned ( a : u16 , b : u16 ) -> Option < u16 > {
14
14
// CHECK-DAG: %[[IS_SOME:.+]] = icmp uge i16 %a, %b
@@ -26,7 +26,7 @@ pub fn checked_sub_unsigned(a: u16, b: u16) -> Option<u16> {
26
26
// looking for no-wrap flags, we just need there to not be any masking.
27
27
28
28
// CHECK-LABEL: @checked_shl_unsigned
29
- // CHECK-SAME: (i32 noundef %a, i32 noundef %b)
29
+ // CHECK-SAME: (i32{{.*}} %a, i32{{.*}} %b)
30
30
#[ no_mangle]
31
31
pub fn checked_shl_unsigned ( a : u32 , b : u32 ) -> Option < u32 > {
32
32
// CHECK-DAG: %[[IS_SOME:.+]] = icmp ult i32 %b, 32
@@ -41,7 +41,7 @@ pub fn checked_shl_unsigned(a: u32, b: u32) -> Option<u32> {
41
41
}
42
42
43
43
// CHECK-LABEL: @checked_shr_unsigned
44
- // CHECK-SAME: (i32 noundef %a, i32 noundef %b)
44
+ // CHECK-SAME: (i32{{.*}} %a, i32{{.*}} %b)
45
45
#[ no_mangle]
46
46
pub fn checked_shr_unsigned ( a : u32 , b : u32 ) -> Option < u32 > {
47
47
// CHECK-DAG: %[[IS_SOME:.+]] = icmp ult i32 %b, 32
@@ -56,7 +56,7 @@ pub fn checked_shr_unsigned(a: u32, b: u32) -> Option<u32> {
56
56
}
57
57
58
58
// CHECK-LABEL: @checked_shl_signed
59
- // CHECK-SAME: (i32 noundef %a, i32 noundef %b)
59
+ // CHECK-SAME: (i32{{.*}} %a, i32{{.*}} %b)
60
60
#[ no_mangle]
61
61
pub fn checked_shl_signed ( a : i32 , b : u32 ) -> Option < i32 > {
62
62
// CHECK-DAG: %[[IS_SOME:.+]] = icmp ult i32 %b, 32
@@ -71,7 +71,7 @@ pub fn checked_shl_signed(a: i32, b: u32) -> Option<i32> {
71
71
}
72
72
73
73
// CHECK-LABEL: @checked_shr_signed
74
- // CHECK-SAME: (i32 noundef %a, i32 noundef %b)
74
+ // CHECK-SAME: (i32{{.*}} %a, i32{{.*}} %b)
75
75
#[ no_mangle]
76
76
pub fn checked_shr_signed ( a : i32 , b : u32 ) -> Option < i32 > {
77
77
// CHECK-DAG: %[[IS_SOME:.+]] = icmp ult i32 %b, 32
@@ -86,7 +86,7 @@ pub fn checked_shr_signed(a: i32, b: u32) -> Option<i32> {
86
86
}
87
87
88
88
// CHECK-LABEL: @checked_add_one_unwrap_unsigned
89
- // CHECK-SAME: (i32 noundef %x)
89
+ // CHECK-SAME: (i32{{.*}} %x)
90
90
#[ no_mangle]
91
91
pub fn checked_add_one_unwrap_unsigned ( x : u32 ) -> u32 {
92
92
// CHECK: %[[IS_MAX:.+]] = icmp eq i32 %x, -1
0 commit comments