@@ -126,24 +126,24 @@ define amdgpu_kernel void @add_i16() #0 {
126
126
define amdgpu_kernel void @add_i8 () #0 {
127
127
; ALL-LABEL: 'add_i8'
128
128
; ALL-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %i8 = add i8 undef, undef
129
- ; ALL-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %v2i8 = add <2 x i8> undef, undef
130
- ; ALL-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %v3i8 = add <3 x i8> undef, undef
131
- ; ALL-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %v4i8 = add <4 x i8> undef, undef
132
- ; ALL-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %v5i8 = add <5 x i8> undef, undef
133
- ; ALL-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %v6i8 = add <6 x i8> undef, undef
134
- ; ALL-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %v32i8 = add <32 x i8> undef, undef
135
- ; ALL-NEXT: Cost Model: Found an estimated cost of 66 for instruction: %v33i8 = add <33 x i8> undef, undef
129
+ ; ALL-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v2i8 = add <2 x i8> undef, undef
130
+ ; ALL-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v3i8 = add <3 x i8> undef, undef
131
+ ; ALL-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v4i8 = add <4 x i8> undef, undef
132
+ ; ALL-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %v5i8 = add <5 x i8> undef, undef
133
+ ; ALL-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %v6i8 = add <6 x i8> undef, undef
134
+ ; ALL-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %v32i8 = add <32 x i8> undef, undef
135
+ ; ALL-NEXT: Cost Model: Found an estimated cost of 17 for instruction: %v33i8 = add <33 x i8> undef, undef
136
136
; ALL-NEXT: Cost Model: Found an estimated cost of 10 for instruction: ret void
137
137
;
138
138
; ALL-SIZE-LABEL: 'add_i8'
139
139
; ALL-SIZE-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %i8 = add i8 undef, undef
140
- ; ALL-SIZE-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %v2i8 = add <2 x i8> undef, undef
141
- ; ALL-SIZE-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %v3i8 = add <3 x i8> undef, undef
142
- ; ALL-SIZE-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %v4i8 = add <4 x i8> undef, undef
143
- ; ALL-SIZE-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %v5i8 = add <5 x i8> undef, undef
144
- ; ALL-SIZE-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %v6i8 = add <6 x i8> undef, undef
145
- ; ALL-SIZE-NEXT: Cost Model: Found an estimated cost of 32 for instruction: %v32i8 = add <32 x i8> undef, undef
146
- ; ALL-SIZE-NEXT: Cost Model: Found an estimated cost of 66 for instruction: %v33i8 = add <33 x i8> undef, undef
140
+ ; ALL-SIZE-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v2i8 = add <2 x i8> undef, undef
141
+ ; ALL-SIZE-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v3i8 = add <3 x i8> undef, undef
142
+ ; ALL-SIZE-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %v4i8 = add <4 x i8> undef, undef
143
+ ; ALL-SIZE-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %v5i8 = add <5 x i8> undef, undef
144
+ ; ALL-SIZE-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %v6i8 = add <6 x i8> undef, undef
145
+ ; ALL-SIZE-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %v32i8 = add <32 x i8> undef, undef
146
+ ; ALL-SIZE-NEXT: Cost Model: Found an estimated cost of 17 for instruction: %v33i8 = add <33 x i8> undef, undef
147
147
; ALL-SIZE-NEXT: Cost Model: Found an estimated cost of 1 for instruction: ret void
148
148
;
149
149
%i8 = add i8 undef , undef
0 commit comments