File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
llvm/test/CodeGen/AArch64/GlobalISel Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -221,3 +221,22 @@ body: |
221
221
%bv:_(<2 x s32>) = G_BUILD_VECTOR %arg1(s32), %arg2(s32)
222
222
%large:_(<2 x s64>) = G_SEXT %bv(<2 x s32>)
223
223
$q0 = COPY %large(<2 x s64>)
224
+ ...
225
+ ---
226
+ name : test_combine_anyext_build_vector_multi_use
227
+ legalized : true
228
+ body : |
229
+ bb.1:
230
+ ; CHECK-LABEL: name: test_combine_anyext_build_vector_multi_use
231
+ ; CHECK: %arg1:_(s32) = COPY $w0
232
+ ; CHECK-NEXT: %arg2:_(s32) = COPY $w0
233
+ ; CHECK-NEXT: %bv:_(<2 x s32>) = G_BUILD_VECTOR %arg1(s32), %arg2(s32)
234
+ ; CHECK-NEXT: %large:_(<2 x s64>) = G_ANYEXT %bv(<2 x s32>)
235
+ ; CHECK-NEXT: $q0 = COPY %large(<2 x s64>)
236
+ ; CHECK-NEXT: $d0 = COPY %bv(<2 x s32>)
237
+ %arg1:_(s32) = COPY $w0
238
+ %arg2:_(s32) = COPY $w0
239
+ %bv:_(<2 x s32>) = G_BUILD_VECTOR %arg1(s32), %arg2(s32)
240
+ %large:_(<2 x s64>) = G_ANYEXT %bv(<2 x s32>)
241
+ $q0 = COPY %large(<2 x s64>)
242
+ $d0 = COPY %bv(<2 x s32>)
You can’t perform that action at this time.
0 commit comments