@@ -13,8 +13,8 @@ body: |
13
13
; CHECK: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
14
14
; CHECK: [[COPY1:%[0-9]+]]:sgpr(s32) = COPY $sgpr1
15
15
; CHECK: [[ICMP:%[0-9]+]]:scc(s1) = G_ICMP intpred(ne), [[COPY]](s32), [[COPY1]]
16
- ; CHECK: [[COPY2:%[0-9]+]]:sgpr (s1) = COPY [[ICMP]](s1)
17
- ; CHECK: [[INT:%[0-9]+]]:sgpr (s1) = G_INTRINSIC intrinsic(@llvm.amdgcn.wqm.vote), [[COPY2]](s1)
16
+ ; CHECK: [[COPY2:%[0-9]+]]:vcc (s1) = COPY [[ICMP]](s1)
17
+ ; CHECK: [[INT:%[0-9]+]]:vcc (s1) = G_INTRINSIC intrinsic(@llvm.amdgcn.wqm.vote), [[COPY2]](s1)
18
18
%0:_(s32) = COPY $sgpr0
19
19
%1:_(s32) = COPY $sgpr1
20
20
%2:_(s1) = G_ICMP intpred(ne), %0, %1
@@ -32,8 +32,7 @@ body: |
32
32
; CHECK: [[COPY:%[0-9]+]]:vgpr(s32) = COPY $vgpr0
33
33
; CHECK: [[COPY1:%[0-9]+]]:vgpr(s32) = COPY $vgpr1
34
34
; CHECK: [[ICMP:%[0-9]+]]:vcc(s1) = G_ICMP intpred(ne), [[COPY]](s32), [[COPY1]]
35
- ; CHECK: [[COPY2:%[0-9]+]]:sgpr(s1) = COPY [[ICMP]](s1)
36
- ; CHECK: [[INT:%[0-9]+]]:sgpr(s1) = G_INTRINSIC intrinsic(@llvm.amdgcn.wqm.vote), [[COPY2]](s1)
35
+ ; CHECK: [[INT:%[0-9]+]]:vcc(s1) = G_INTRINSIC intrinsic(@llvm.amdgcn.wqm.vote), [[ICMP]](s1)
37
36
%0:_(s32) = COPY $vgpr0
38
37
%1:_(s32) = COPY $vgpr1
39
38
%2:_(s1) = G_ICMP intpred(ne), %0, %1
@@ -50,7 +49,8 @@ body: |
50
49
; CHECK-LABEL: name: wqm_vote_sgpr
51
50
; CHECK: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
52
51
; CHECK: [[TRUNC:%[0-9]+]]:sgpr(s1) = G_TRUNC [[COPY]](s32)
53
- ; CHECK: [[INT:%[0-9]+]]:sgpr(s1) = G_INTRINSIC intrinsic(@llvm.amdgcn.wqm.vote), [[TRUNC]](s1)
52
+ ; CHECK: [[COPY1:%[0-9]+]]:vcc(s1) = COPY [[TRUNC]](s1)
53
+ ; CHECK: [[INT:%[0-9]+]]:vcc(s1) = G_INTRINSIC intrinsic(@llvm.amdgcn.wqm.vote), [[COPY1]](s1)
54
54
%0:_(s32) = COPY $sgpr0
55
55
%1:_(s1) = G_TRUNC %0
56
56
%2:_(s1) = G_INTRINSIC intrinsic(@llvm.amdgcn.wqm.vote), %1
0 commit comments