@@ -287,7 +287,7 @@ define void @urem_uniform() {
287287
288288define void @srem_const () {
289289; CHECK-LABEL: 'srem_const'
290- ; CHECK-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %I128 = srem i128 undef, 7
290+ ; CHECK-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %I128 = srem i128 undef, 7
291291; CHECK-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %I64 = srem i64 undef, 7
292292; CHECK-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V2i64 = srem <2 x i64> undef, <i64 6, i64 7>
293293; CHECK-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V4i64 = srem <4 x i64> undef, <i64 4, i64 5, i64 6, i64 7>
@@ -404,7 +404,7 @@ define void @urem_const() {
404404
405405define void @srem_uniformconst () {
406406; CHECK-LABEL: 'srem_uniformconst'
407- ; CHECK-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %I128 = srem i128 undef, 7
407+ ; CHECK-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %I128 = srem i128 undef, 7
408408; CHECK-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %I64 = srem i64 undef, 7
409409; CHECK-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V2i64 = srem <2 x i64> undef, splat (i64 7)
410410; CHECK-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V4i64 = srem <4 x i64> undef, splat (i64 7)
@@ -520,7 +520,7 @@ define void @urem_uniformconst() {
520520
521521define void @srem_constpow2 () {
522522; CHECK-LABEL: 'srem_constpow2'
523- ; CHECK-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %I128 = srem i128 undef, 16
523+ ; CHECK-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %I128 = srem i128 undef, 16
524524; CHECK-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %I64 = srem i64 undef, 16
525525; CHECK-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V2i64 = srem <2 x i64> undef, <i64 8, i64 16>
526526; CHECK-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V4i64 = srem <4 x i64> undef, <i64 2, i64 4, i64 8, i64 16>
@@ -636,7 +636,7 @@ define void @urem_constpow2() {
636636
637637define void @srem_uniformconstpow2 () {
638638; CHECK-LABEL: 'srem_uniformconstpow2'
639- ; CHECK-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %I128 = srem i128 undef, 16
639+ ; CHECK-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %I128 = srem i128 undef, 16
640640; CHECK-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %I64 = srem i64 undef, 16
641641; CHECK-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %V2i64 = srem <2 x i64> undef, splat (i64 16)
642642; CHECK-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V4i64 = srem <4 x i64> undef, splat (i64 16)
@@ -752,7 +752,7 @@ define void @urem_uniformconstpow2() {
752752
753753define void @srem_constnegpow2 () {
754754; CHECK-LABEL: 'srem_constnegpow2'
755- ; CHECK-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %I128 = srem i128 undef, -16
755+ ; CHECK-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %I128 = srem i128 undef, -16
756756; CHECK-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %I64 = srem i64 undef, -16
757757; CHECK-NEXT: Cost Model: Found an estimated cost of 6 for instruction: %V2i64 = srem <2 x i64> undef, <i64 -8, i64 -16>
758758; CHECK-NEXT: Cost Model: Found an estimated cost of 12 for instruction: %V4i64 = srem <4 x i64> undef, <i64 -2, i64 -4, i64 -8, i64 -16>
@@ -868,7 +868,7 @@ define void @urem_constnegpow2() {
868868
869869define void @srem_uniformconstnegpow2 () {
870870; CHECK-LABEL: 'srem_uniformconstnegpow2'
871- ; CHECK-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %I128 = srem i128 undef, -16
871+ ; CHECK-NEXT: Cost Model: Found an estimated cost of 10 for instruction: %I128 = srem i128 undef, -16
872872; CHECK-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %I64 = srem i64 undef, -16
873873; CHECK-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %V2i64 = srem <2 x i64> undef, splat (i64 -16)
874874; CHECK-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %V4i64 = srem <4 x i64> undef, splat (i64 -16)
0 commit comments