File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 1- # RUN: llc -march=amdgcn -run-pass=legalizer -verify-machineinstrs %s -o -
1+ # RUN: llc -march=amdgcn -run-pass=legalizer -verify-machineinstrs %s -o -
22
33--- |
4- define i32 @test(i64 %arg ) {
5- ret i32 0
4+ define i32 @test() {
5+ unreachable
66 }
77...
8+ ---
89name : test
910tracksRegLiveness : true
1011body : |
1112 bb.0:
12- %9 :_(p0) = G_CONSTANT i64 0
13- %10 :_(<2 x p0>) = G_BUILD_VECTOR %9 :_(p0), %9 :_(p0)
14- %8 :_(<2 x p0>) = G_LOAD %9 :_(p0) :: (load (<2 x p0>) from `ptr null`, align 64 )
15- %11 :_(p0) = G_SHUFFLE_VECTOR %8 :_(<2 x p0>), %10 :_, shufflemask(0)
16- %12 :_(s32), %13 :_(s32) = G_UNMERGE_VALUES %11 :_(p0)
17- $vgpr0 = COPY %12 :_(s32)
18- $vgpr1 = COPY %13 :_(s32)
13+ %0 :_(p0) = G_CONSTANT i64 0
14+ %1 :_(<2 x p0>) = G_BUILD_VECTOR %0 :_(p0), %0 :_(p0)
15+ %2 :_(<2 x p0>) = G_LOAD %0 :_(p0) :: (load (<2 x p0>))
16+ %3 :_(p0) = G_SHUFFLE_VECTOR %2 :_(<2 x p0>), %1 :_, shufflemask(0)
17+ %4 :_(s32), %5 :_(s32) = G_UNMERGE_VALUES %3 :_(p0)
18+ $vgpr0 = COPY %4 :_(s32)
19+ $vgpr1 = COPY %5 :_(s32)
1920 SI_RETURN implicit $vgpr0, implicit $vgpr1
2021 ...
2122
You can’t perform that action at this time.
0 commit comments