Lines Matching full:fast

2 …fiji -run-pass=regbankselect -regbankselect-fast -verify-machineinstrs -o - %s | FileCheck -check-…
11 ; FAST-LABEL: name: phi_s1_scc_scc_sbranch
12 ; FAST: bb.0:
13 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000)
14 ; FAST: liveins: $sgpr0, $sgpr1, $sgpr2
15 ; FAST: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
16 ; FAST: [[COPY1:%[0-9]+]]:sgpr(s32) = COPY $sgpr1
17 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr2
18 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0
19 ; FAST: [[ICMP:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY]](s32), [[C]]
20 ; FAST: [[TRUNC:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP]](s32)
21 ; FAST: [[ICMP1:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C]]
22 ; FAST: [[TRUNC1:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP1]](s32)
23 ; FAST: [[ZEXT:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC1]](s1)
24 ; FAST: [[ANYEXT:%[0-9]+]]:sgpr(s32) = G_ANYEXT [[TRUNC]](s1)
25 ; FAST: G_BRCOND [[ZEXT]](s32), %bb.1
26 ; FAST: G_BR %bb.2
27 ; FAST: bb.1:
28 ; FAST: successors: %bb.2(0x80000000)
29 ; FAST: [[ICMP2:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY1]](s32), [[C]]
30 ; FAST: [[TRUNC2:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP2]](s32)
31 ; FAST: [[ANYEXT1:%[0-9]+]]:sgpr(s32) = G_ANYEXT [[TRUNC2]](s1)
32 ; FAST: G_BR %bb.2
33 ; FAST: bb.2:
34 ; FAST: [[PHI:%[0-9]+]]:sgpr(s32) = G_PHI [[ANYEXT]](s32), %bb.0, [[ANYEXT1]](s32), %bb.1
35 ; FAST: [[TRUNC3:%[0-9]+]]:sgpr(s1) = G_TRUNC [[PHI]](s32)
36 ; FAST: [[ZEXT1:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC3]](s1)
37 ; FAST: [[SELECT:%[0-9]+]]:sgpr(s32) = G_SELECT [[ZEXT1]](s32), [[C]], [[COPY]]
38 ; FAST: S_SETPC_B64 undef $sgpr30_sgpr31, implicit [[SELECT]](s32)
99 ; FAST-LABEL: name: phi_s1_scc_scc_scc_sbranch
100 ; FAST: bb.0:
101 ; FAST: successors: %bb.1(0x40000000), %bb.3(0x40000000)
102 ; FAST: liveins: $sgpr0, $sgpr1, $sgpr2, $sgpr3
103 ; FAST: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
104 ; FAST: [[COPY1:%[0-9]+]]:sgpr(s32) = COPY $sgpr1
105 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr2
106 ; FAST: [[COPY3:%[0-9]+]]:sgpr(s32) = COPY $sgpr3
107 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0
108 ; FAST: [[ICMP:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY]](s32), [[COPY3]]
109 ; FAST: [[TRUNC:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP]](s32)
110 ; FAST: [[ICMP1:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[COPY3]]
111 ; FAST: [[TRUNC1:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP1]](s32)
112 ; FAST: [[ZEXT:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC1]](s1)
113 ; FAST: [[ANYEXT:%[0-9]+]]:sgpr(s32) = G_ANYEXT [[TRUNC]](s1)
114 ; FAST: G_BRCOND [[ZEXT]](s32), %bb.3
115 ; FAST: G_BR %bb.1
116 ; FAST: bb.1:
117 ; FAST: successors: %bb.2(0x40000000), %bb.3(0x40000000)
118 ; FAST: [[C1:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 99
119 ; FAST: [[C2:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 888
120 ; FAST: [[ICMP2:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY1]](s32), [[C1]]
121 ; FAST: [[TRUNC2:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP2]](s32)
122 ; FAST: [[ICMP3:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY1]](s32), [[C2]]
123 ; FAST: [[TRUNC3:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP3]](s32)
124 ; FAST: [[ZEXT1:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC3]](s1)
125 ; FAST: [[ANYEXT1:%[0-9]+]]:sgpr(s32) = G_ANYEXT [[TRUNC2]](s1)
126 ; FAST: G_BRCOND [[ZEXT1]](s32), %bb.3
127 ; FAST: G_BR %bb.2
128 ; FAST: bb.2:
129 ; FAST: successors: %bb.3(0x80000000)
130 ; FAST: [[C3:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 123
131 ; FAST: [[ICMP4:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C3]]
132 ; FAST: [[TRUNC4:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP4]](s32)
133 ; FAST: [[ANYEXT2:%[0-9]+]]:sgpr(s32) = G_ANYEXT [[TRUNC4]](s1)
134 ; FAST: G_BR %bb.3
135 ; FAST: bb.3:
136 …; FAST: [[PHI:%[0-9]+]]:sgpr(s32) = G_PHI [[ANYEXT]](s32), %bb.0, [[ANYEXT1]](s32), %bb.1, [[ANY…
137 ; FAST: [[TRUNC5:%[0-9]+]]:sgpr(s1) = G_TRUNC [[PHI]](s32)
138 ; FAST: [[ZEXT2:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC5]](s1)
139 ; FAST: [[SELECT:%[0-9]+]]:sgpr(s32) = G_SELECT [[ZEXT2]](s32), [[COPY]], [[COPY1]]
140 ; FAST: S_SETPC_B64 undef $sgpr30_sgpr31, implicit [[SELECT]](s32)
227 ; FAST-LABEL: name: phi_s1_scc_vcc_sbranch
228 ; FAST: bb.0:
229 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000)
230 ; FAST: liveins: $sgpr0, $sgpr1, $vgpr0
231 ; FAST: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
232 ; FAST: [[COPY1:%[0-9]+]]:vgpr(s32) = COPY $vgpr0
233 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr1
234 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0
235 ; FAST: [[ICMP:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY]](s32), [[C]]
236 ; FAST: [[TRUNC:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP]](s32)
237 ; FAST: [[ICMP1:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C]]
238 ; FAST: [[TRUNC1:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP1]](s32)
239 ; FAST: [[ZEXT:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC1]](s1)
240 ; FAST: [[COPY3:%[0-9]+]]:vcc(s1) = COPY [[TRUNC]](s1)
241 ; FAST: G_BRCOND [[ZEXT]](s32), %bb.1
242 ; FAST: G_BR %bb.2
243 ; FAST: bb.1:
244 ; FAST: successors: %bb.2(0x80000000)
245 ; FAST: [[COPY4:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
246 ; FAST: [[ICMP2:%[0-9]+]]:vcc(s1) = G_ICMP intpred(eq), [[COPY1]](s32), [[COPY4]]
247 ; FAST: G_BR %bb.2
248 ; FAST: bb.2:
249 ; FAST: [[PHI:%[0-9]+]]:vcc(s1) = G_PHI [[COPY3]](s1), %bb.0, [[ICMP2]](s1), %bb.1
250 ; FAST: [[COPY5:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
251 ; FAST: [[COPY6:%[0-9]+]]:vgpr(s32) = COPY [[COPY]](s32)
252 ; FAST: [[SELECT:%[0-9]+]]:vgpr(s32) = G_SELECT [[PHI]](s1), [[COPY5]], [[COPY6]]
253 ; FAST: S_SETPC_B64 undef $sgpr30_sgpr31, implicit [[SELECT]](s32)
313 ; FAST-LABEL: name: phi_s1_vcc_scc_sbranch
314 ; FAST: bb.0:
315 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000)
316 ; FAST: liveins: $vgpr0, $sgpr0, $sgpr1
317 ; FAST: [[COPY:%[0-9]+]]:vgpr(s32) = COPY $vgpr0
318 ; FAST: [[COPY1:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
319 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr1
320 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0
321 ; FAST: [[COPY3:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
322 ; FAST: [[ICMP:%[0-9]+]]:vcc(s1) = G_ICMP intpred(eq), [[COPY]](s32), [[COPY3]]
323 ; FAST: [[ICMP1:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C]]
324 ; FAST: [[TRUNC:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP1]](s32)
325 ; FAST: [[ZEXT:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC]](s1)
326 ; FAST: G_BRCOND [[ZEXT]](s32), %bb.1
327 ; FAST: G_BR %bb.2
328 ; FAST: bb.1:
329 ; FAST: successors: %bb.2(0x80000000)
330 ; FAST: [[ICMP2:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY1]](s32), [[C]]
331 ; FAST: [[TRUNC1:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP2]](s32)
332 ; FAST: [[COPY4:%[0-9]+]]:vcc(s1) = COPY [[TRUNC1]](s1)
333 ; FAST: G_BR %bb.2
334 ; FAST: bb.2:
335 ; FAST: [[PHI:%[0-9]+]]:vcc(s1) = G_PHI [[ICMP]](s1), %bb.0, [[COPY4]](s1), %bb.1
336 ; FAST: [[COPY5:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
337 ; FAST: [[COPY6:%[0-9]+]]:vgpr(s32) = COPY [[COPY1]](s32)
338 ; FAST: [[SELECT:%[0-9]+]]:vgpr(s32) = G_SELECT [[PHI]](s1), [[COPY5]], [[COPY6]]
339 ; FAST: S_SETPC_B64 undef $sgpr30_sgpr31, implicit [[SELECT]](s32)
399 ; FAST-LABEL: name: phi_s1_vcc_vcc_sbranch
400 ; FAST: bb.0:
401 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000)
402 ; FAST: liveins: $vgpr0, $vgpr1, $sgpr0
403 ; FAST: [[COPY:%[0-9]+]]:vgpr(s32) = COPY $vgpr0
404 ; FAST: [[COPY1:%[0-9]+]]:vgpr(s32) = COPY $vgpr1
405 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
406 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0
407 ; FAST: [[COPY3:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
408 ; FAST: [[ICMP:%[0-9]+]]:vcc(s1) = G_ICMP intpred(eq), [[COPY]](s32), [[COPY3]]
409 ; FAST: [[ICMP1:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C]]
410 ; FAST: [[TRUNC:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP1]](s32)
411 ; FAST: [[ZEXT:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC]](s1)
412 ; FAST: G_BRCOND [[ZEXT]](s32), %bb.1
413 ; FAST: G_BR %bb.2
414 ; FAST: bb.1:
415 ; FAST: successors: %bb.2(0x80000000)
416 ; FAST: [[COPY4:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
417 ; FAST: [[ICMP2:%[0-9]+]]:vcc(s1) = G_ICMP intpred(eq), [[COPY1]](s32), [[COPY4]]
418 ; FAST: G_BR %bb.2
419 ; FAST: bb.2:
420 ; FAST: [[PHI:%[0-9]+]]:vcc(s1) = G_PHI [[ICMP]](s1), %bb.0, [[ICMP2]](s1), %bb.1
421 ; FAST: [[COPY5:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
422 ; FAST: [[SELECT:%[0-9]+]]:vgpr(s32) = G_SELECT [[PHI]](s1), [[COPY5]], [[COPY]]
423 ; FAST: S_SETPC_B64 undef $sgpr30_sgpr31, implicit [[SELECT]](s32)
481 ; FAST-LABEL: name: phi_s1_s_scc_sbranch
482 ; FAST: bb.0:
483 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000)
484 ; FAST: liveins: $sgpr0, $sgpr1, $sgpr2
485 ; FAST: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
486 ; FAST: [[COPY1:%[0-9]+]]:sgpr(s32) = COPY $sgpr1
487 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr2
488 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0
489 ; FAST: [[TRUNC:%[0-9]+]]:sgpr(s1) = G_TRUNC [[COPY]](s32)
490 ; FAST: [[ICMP:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C]]
491 ; FAST: [[TRUNC1:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP]](s32)
492 ; FAST: [[ZEXT:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC1]](s1)
493 ; FAST: [[ANYEXT:%[0-9]+]]:sgpr(s32) = G_ANYEXT [[TRUNC]](s1)
494 ; FAST: G_BRCOND [[ZEXT]](s32), %bb.1
495 ; FAST: G_BR %bb.2
496 ; FAST: bb.1:
497 ; FAST: successors: %bb.2(0x80000000)
498 ; FAST: [[ICMP1:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY1]](s32), [[C]]
499 ; FAST: [[TRUNC2:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP1]](s32)
500 ; FAST: [[ANYEXT1:%[0-9]+]]:sgpr(s32) = G_ANYEXT [[TRUNC2]](s1)
501 ; FAST: G_BR %bb.2
502 ; FAST: bb.2:
503 ; FAST: [[PHI:%[0-9]+]]:sgpr(s32) = G_PHI [[ANYEXT]](s32), %bb.0, [[ANYEXT1]](s32), %bb.1
504 ; FAST: [[TRUNC3:%[0-9]+]]:sgpr(s1) = G_TRUNC [[PHI]](s32)
505 ; FAST: [[ZEXT1:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC3]](s1)
506 ; FAST: [[SELECT:%[0-9]+]]:sgpr(s32) = G_SELECT [[ZEXT1]](s32), [[C]], [[COPY]]
507 ; FAST: S_SETPC_B64 undef $sgpr30_sgpr31, implicit [[SELECT]](s32)
567 ; FAST-LABEL: name: phi_s1_scc_s_sbranch
568 ; FAST: bb.0:
569 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000)
570 ; FAST: liveins: $sgpr0, $sgpr1, $sgpr2
571 ; FAST: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
572 ; FAST: [[COPY1:%[0-9]+]]:sgpr(s32) = COPY $sgpr1
573 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr2
574 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0
575 ; FAST: [[ICMP:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY]](s32), [[C]]
576 ; FAST: [[TRUNC:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP]](s32)
577 ; FAST: [[ICMP1:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C]]
578 ; FAST: [[TRUNC1:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP1]](s32)
579 ; FAST: [[ZEXT:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC1]](s1)
580 ; FAST: [[ANYEXT:%[0-9]+]]:sgpr(s32) = G_ANYEXT [[TRUNC]](s1)
581 ; FAST: G_BRCOND [[ZEXT]](s32), %bb.1
582 ; FAST: G_BR %bb.2
583 ; FAST: bb.1:
584 ; FAST: successors: %bb.2(0x80000000)
585 ; FAST: [[TRUNC2:%[0-9]+]]:sgpr(s1) = G_TRUNC [[COPY1]](s32)
586 ; FAST: [[ANYEXT1:%[0-9]+]]:sgpr(s32) = G_ANYEXT [[TRUNC2]](s1)
587 ; FAST: G_BR %bb.2
588 ; FAST: bb.2:
589 ; FAST: [[PHI:%[0-9]+]]:sgpr(s32) = G_PHI [[ANYEXT]](s32), %bb.0, [[ANYEXT1]](s32), %bb.1
590 ; FAST: [[TRUNC3:%[0-9]+]]:sgpr(s1) = G_TRUNC [[PHI]](s32)
591 ; FAST: [[ZEXT1:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC3]](s1)
592 ; FAST: [[SELECT:%[0-9]+]]:sgpr(s32) = G_SELECT [[ZEXT1]](s32), [[C]], [[COPY]]
593 ; FAST: S_SETPC_B64 undef $sgpr30_sgpr31, implicit [[SELECT]](s32)
653 ; FAST-LABEL: name: phi_s1_scc_v_sbranch
654 ; FAST: bb.0:
655 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000)
656 ; FAST: liveins: $vgpr0, $sgpr0, $sgpr1, $sgpr2
657 ; FAST: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
658 ; FAST: [[COPY1:%[0-9]+]]:vgpr(s32) = COPY $vgpr0
659 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr2
660 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0
661 ; FAST: [[ICMP:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY]](s32), [[C]]
662 ; FAST: [[TRUNC:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP]](s32)
663 ; FAST: [[ICMP1:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C]]
664 ; FAST: [[TRUNC1:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP1]](s32)
665 ; FAST: [[ZEXT:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC1]](s1)
666 ; FAST: [[ANYEXT:%[0-9]+]]:vgpr(s32) = G_ANYEXT [[TRUNC]](s1)
667 ; FAST: G_BRCOND [[ZEXT]](s32), %bb.1
668 ; FAST: G_BR %bb.2
669 ; FAST: bb.1:
670 ; FAST: successors: %bb.2(0x80000000)
671 ; FAST: [[TRUNC2:%[0-9]+]]:vgpr(s1) = G_TRUNC [[COPY1]](s32)
672 ; FAST: [[ANYEXT1:%[0-9]+]]:vgpr(s32) = G_ANYEXT [[TRUNC2]](s1)
673 ; FAST: G_BR %bb.2
674 ; FAST: bb.2:
675 ; FAST: [[PHI:%[0-9]+]]:vgpr(s32) = G_PHI [[ANYEXT]](s32), %bb.0, [[ANYEXT1]](s32), %bb.1
676 ; FAST: [[TRUNC3:%[0-9]+]]:vgpr(s1) = G_TRUNC [[PHI]](s32)
677 ; FAST: [[COPY3:%[0-9]+]]:vcc(s1) = COPY [[TRUNC3]](s1)
678 ; FAST: [[COPY4:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
679 ; FAST: [[COPY5:%[0-9]+]]:vgpr(s32) = COPY [[COPY]](s32)
680 ; FAST: [[SELECT:%[0-9]+]]:vgpr(s32) = G_SELECT [[COPY3]](s1), [[COPY4]], [[COPY5]]
681 ; FAST: S_SETPC_B64 undef $sgpr30_sgpr31, implicit [[SELECT]](s32)
743 ; FAST-LABEL: name: phi_s1_v_scc_sbranch
744 ; FAST: bb.0:
745 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000)
746 ; FAST: liveins: $vgpr0, $sgpr0, $sgpr1
747 ; FAST: [[COPY:%[0-9]+]]:vgpr(s32) = COPY $vgpr0
748 ; FAST: [[COPY1:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
749 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr1
750 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0
751 ; FAST: [[TRUNC:%[0-9]+]]:vgpr(s1) = G_TRUNC [[COPY]](s32)
752 ; FAST: [[ICMP:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C]]
753 ; FAST: [[TRUNC1:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP]](s32)
754 ; FAST: [[ZEXT:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC1]](s1)
755 ; FAST: [[ANYEXT:%[0-9]+]]:vgpr(s32) = G_ANYEXT [[TRUNC]](s1)
756 ; FAST: G_BRCOND [[ZEXT]](s32), %bb.1
757 ; FAST: G_BR %bb.2
758 ; FAST: bb.1:
759 ; FAST: successors: %bb.2(0x80000000)
760 ; FAST: [[ICMP1:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY1]](s32), [[C]]
761 ; FAST: [[TRUNC2:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP1]](s32)
762 ; FAST: [[ANYEXT1:%[0-9]+]]:vgpr(s32) = G_ANYEXT [[TRUNC2]](s1)
763 ; FAST: G_BR %bb.2
764 ; FAST: bb.2:
765 ; FAST: [[PHI:%[0-9]+]]:vgpr(s32) = G_PHI [[ANYEXT]](s32), %bb.0, [[ANYEXT1]](s32), %bb.1
766 ; FAST: [[TRUNC3:%[0-9]+]]:vgpr(s1) = G_TRUNC [[PHI]](s32)
767 ; FAST: [[COPY3:%[0-9]+]]:vcc(s1) = COPY [[TRUNC3]](s1)
768 ; FAST: [[COPY4:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
769 ; FAST: [[SELECT:%[0-9]+]]:vgpr(s32) = G_SELECT [[COPY3]](s1), [[COPY4]], [[COPY]]
770 ; FAST: S_SETPC_B64 undef $sgpr30_sgpr31, implicit [[SELECT]](s32)
831 ; FAST-LABEL: name: phi_s1_vcc_s_sbranch
832 ; FAST: bb.0:
833 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000)
834 ; FAST: liveins: $vgpr0, $sgpr0, $sgpr1
835 ; FAST: [[COPY:%[0-9]+]]:vgpr(s32) = COPY $vgpr0
836 ; FAST: [[COPY1:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
837 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr1
838 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0
839 ; FAST: [[COPY3:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
840 ; FAST: [[ICMP:%[0-9]+]]:vcc(s1) = G_ICMP intpred(eq), [[COPY]](s32), [[COPY3]]
841 ; FAST: [[ICMP1:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C]]
842 ; FAST: [[TRUNC:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP1]](s32)
843 ; FAST: [[ZEXT:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC]](s1)
844 ; FAST: G_BRCOND [[ZEXT]](s32), %bb.1
845 ; FAST: G_BR %bb.2
846 ; FAST: bb.1:
847 ; FAST: successors: %bb.2(0x80000000)
848 ; FAST: [[TRUNC1:%[0-9]+]]:sgpr(s1) = G_TRUNC [[COPY1]](s32)
849 ; FAST: [[COPY4:%[0-9]+]]:vcc(s1) = COPY [[TRUNC1]](s1)
850 ; FAST: G_BR %bb.2
851 ; FAST: bb.2:
852 ; FAST: [[PHI:%[0-9]+]]:vcc(s1) = G_PHI [[ICMP]](s1), %bb.0, [[COPY4]](s1), %bb.1
853 ; FAST: [[COPY5:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
854 ; FAST: [[SELECT:%[0-9]+]]:vgpr(s32) = G_SELECT [[PHI]](s1), [[COPY5]], [[COPY]]
855 ; FAST: S_SETPC_B64 undef $sgpr30_sgpr31, implicit [[SELECT]](s32)
913 ; FAST-LABEL: name: phi_s1_s_vcc_sbranch
914 ; FAST: bb.0:
915 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000)
916 ; FAST: liveins: $vgpr0, $sgpr0, $sgpr1
917 ; FAST: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
918 ; FAST: [[COPY1:%[0-9]+]]:vgpr(s32) = COPY $vgpr0
919 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr1
920 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0
921 ; FAST: [[TRUNC:%[0-9]+]]:sgpr(s1) = G_TRUNC [[COPY]](s32)
922 ; FAST: [[ICMP:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C]]
923 ; FAST: [[TRUNC1:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP]](s32)
924 ; FAST: [[ZEXT:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC1]](s1)
925 ; FAST: [[COPY3:%[0-9]+]]:vcc(s1) = COPY [[TRUNC]](s1)
926 ; FAST: G_BRCOND [[ZEXT]](s32), %bb.1
927 ; FAST: G_BR %bb.2
928 ; FAST: bb.1:
929 ; FAST: successors: %bb.2(0x80000000)
930 ; FAST: [[COPY4:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
931 ; FAST: [[ICMP1:%[0-9]+]]:vcc(s1) = G_ICMP intpred(eq), [[COPY1]](s32), [[COPY4]]
932 ; FAST: G_BR %bb.2
933 ; FAST: bb.2:
934 ; FAST: [[PHI:%[0-9]+]]:vcc(s1) = G_PHI [[COPY3]](s1), %bb.0, [[ICMP1]](s1), %bb.1
935 ; FAST: [[COPY5:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
936 ; FAST: [[COPY6:%[0-9]+]]:vgpr(s32) = COPY [[COPY]](s32)
937 ; FAST: [[SELECT:%[0-9]+]]:vgpr(s32) = G_SELECT [[PHI]](s1), [[COPY5]], [[COPY6]]
938 ; FAST: S_SETPC_B64 undef $sgpr30_sgpr31, implicit [[SELECT]](s32)
997 ; FAST-LABEL: name: phi_s1_vcc_v_sbranch
998 ; FAST: bb.0:
999 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000)
1000 ; FAST: liveins: $vgpr0, $vgpr1, $sgpr0
1001 ; FAST: [[COPY:%[0-9]+]]:vgpr(s32) = COPY $vgpr0
1002 ; FAST: [[COPY1:%[0-9]+]]:vgpr(s32) = COPY $vgpr1
1003 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
1004 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0
1005 ; FAST: [[COPY3:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
1006 ; FAST: [[ICMP:%[0-9]+]]:vcc(s1) = G_ICMP intpred(eq), [[COPY]](s32), [[COPY3]]
1007 ; FAST: [[ICMP1:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C]]
1008 ; FAST: [[TRUNC:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP1]](s32)
1009 ; FAST: [[ZEXT:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC]](s1)
1010 ; FAST: [[C1:%[0-9]+]]:vgpr(s32) = G_CONSTANT i32 1
1011 ; FAST: [[C2:%[0-9]+]]:vgpr(s32) = G_CONSTANT i32 0
1012 ; FAST: [[SELECT:%[0-9]+]]:vgpr(s32) = G_SELECT [[ICMP]](s1), [[C1]], [[C2]]
1013 ; FAST: G_BRCOND [[ZEXT]](s32), %bb.1
1014 ; FAST: G_BR %bb.2
1015 ; FAST: bb.1:
1016 ; FAST: successors: %bb.2(0x80000000)
1017 ; FAST: [[TRUNC1:%[0-9]+]]:vgpr(s1) = G_TRUNC [[COPY1]](s32)
1018 ; FAST: [[ANYEXT:%[0-9]+]]:vgpr(s32) = G_ANYEXT [[TRUNC1]](s1)
1019 ; FAST: G_BR %bb.2
1020 ; FAST: bb.2:
1021 ; FAST: [[PHI:%[0-9]+]]:vgpr(s32) = G_PHI [[SELECT]](s32), %bb.0, [[ANYEXT]](s32), %bb.1
1022 ; FAST: [[TRUNC2:%[0-9]+]]:vgpr(s1) = G_TRUNC [[PHI]](s32)
1023 ; FAST: [[COPY4:%[0-9]+]]:vcc(s1) = COPY [[TRUNC2]](s1)
1024 ; FAST: [[COPY5:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
1025 ; FAST: [[SELECT1:%[0-9]+]]:vgpr(s32) = G_SELECT [[COPY4]](s1), [[COPY5]], [[COPY]]
1026 ; FAST: S_SETPC_B64 undef $sgpr30_sgpr31, implicit [[SELECT1]](s32)
1089 ; FAST-LABEL: name: phi_s1_v_vcc_sbranch
1090 ; FAST: bb.0:
1091 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000)
1092 ; FAST: liveins: $vgpr0, $vgpr1, $sgpr0
1093 ; FAST: [[COPY:%[0-9]+]]:vgpr(s32) = COPY $vgpr0
1094 ; FAST: [[COPY1:%[0-9]+]]:vgpr(s32) = COPY $vgpr1
1095 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
1096 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0
1097 ; FAST: [[TRUNC:%[0-9]+]]:vgpr(s1) = G_TRUNC [[COPY]](s32)
1098 ; FAST: [[ICMP:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C]]
1099 ; FAST: [[TRUNC1:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP]](s32)
1100 ; FAST: [[ZEXT:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC1]](s1)
1101 ; FAST: [[ANYEXT:%[0-9]+]]:vgpr(s32) = G_ANYEXT [[TRUNC]](s1)
1102 ; FAST: G_BRCOND [[ZEXT]](s32), %bb.1
1103 ; FAST: G_BR %bb.2
1104 ; FAST: bb.1:
1105 ; FAST: successors: %bb.2(0x80000000)
1106 ; FAST: [[COPY3:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
1107 ; FAST: [[ICMP1:%[0-9]+]]:vcc(s1) = G_ICMP intpred(eq), [[COPY1]](s32), [[COPY3]]
1108 ; FAST: [[C1:%[0-9]+]]:vgpr(s32) = G_CONSTANT i32 1
1109 ; FAST: [[C2:%[0-9]+]]:vgpr(s32) = G_CONSTANT i32 0
1110 ; FAST: [[SELECT:%[0-9]+]]:vgpr(s32) = G_SELECT [[ICMP1]](s1), [[C1]], [[C2]]
1111 ; FAST: G_BR %bb.2
1112 ; FAST: bb.2:
1113 ; FAST: [[PHI:%[0-9]+]]:vgpr(s32) = G_PHI [[ANYEXT]](s32), %bb.0, [[SELECT]](s32), %bb.1
1114 ; FAST: [[TRUNC2:%[0-9]+]]:vgpr(s1) = G_TRUNC [[PHI]](s32)
1115 ; FAST: [[COPY4:%[0-9]+]]:vcc(s1) = COPY [[TRUNC2]](s1)
1116 ; FAST: [[COPY5:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
1117 ; FAST: [[SELECT1:%[0-9]+]]:vgpr(s32) = G_SELECT [[COPY4]](s1), [[COPY5]], [[COPY]]
1118 ; FAST: S_SETPC_B64 undef $sgpr30_sgpr31, implicit [[SELECT1]](s32)
1181 ; FAST-LABEL: name: phi_s1_v_s_sbranch
1182 ; FAST: bb.0:
1183 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000)
1184 ; FAST: liveins: $vgpr0, $sgpr0, $sgpr1
1185 ; FAST: [[COPY:%[0-9]+]]:vgpr(s32) = COPY $vgpr0
1186 ; FAST: [[COPY1:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
1187 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr1
1188 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0
1189 ; FAST: [[TRUNC:%[0-9]+]]:vgpr(s1) = G_TRUNC [[COPY]](s32)
1190 ; FAST: [[ICMP:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C]]
1191 ; FAST: [[TRUNC1:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP]](s32)
1192 ; FAST: [[ZEXT:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC1]](s1)
1193 ; FAST: [[ANYEXT:%[0-9]+]]:vgpr(s32) = G_ANYEXT [[TRUNC]](s1)
1194 ; FAST: G_BRCOND [[ZEXT]](s32), %bb.1
1195 ; FAST: G_BR %bb.2
1196 ; FAST: bb.1:
1197 ; FAST: successors: %bb.2(0x80000000)
1198 ; FAST: [[TRUNC2:%[0-9]+]]:sgpr(s1) = G_TRUNC [[COPY1]](s32)
1199 ; FAST: [[ANYEXT1:%[0-9]+]]:vgpr(s32) = G_ANYEXT [[TRUNC2]](s1)
1200 ; FAST: G_BR %bb.2
1201 ; FAST: bb.2:
1202 ; FAST: [[PHI:%[0-9]+]]:vgpr(s32) = G_PHI [[ANYEXT]](s32), %bb.0, [[ANYEXT1]](s32), %bb.1
1203 ; FAST: [[TRUNC3:%[0-9]+]]:vgpr(s1) = G_TRUNC [[PHI]](s32)
1204 ; FAST: [[COPY3:%[0-9]+]]:vcc(s1) = COPY [[TRUNC3]](s1)
1205 ; FAST: [[COPY4:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
1206 ; FAST: [[SELECT:%[0-9]+]]:vgpr(s32) = G_SELECT [[COPY3]](s1), [[COPY4]], [[COPY]]
1207 ; FAST: S_SETPC_B64 undef $sgpr30_sgpr31, implicit [[SELECT]](s32)
1267 ; FAST-LABEL: name: phi_s1_s_v_sbranch
1268 ; FAST: bb.0:
1269 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000)
1270 ; FAST: liveins: $vgpr0, $sgpr0, $sgpr1
1271 ; FAST: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
1272 ; FAST: [[COPY1:%[0-9]+]]:vgpr(s32) = COPY $vgpr0
1273 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr1
1274 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0
1275 ; FAST: [[TRUNC:%[0-9]+]]:sgpr(s1) = G_TRUNC [[COPY]](s32)
1276 ; FAST: [[ICMP:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C]]
1277 ; FAST: [[TRUNC1:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP]](s32)
1278 ; FAST: [[ZEXT:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC1]](s1)
1279 ; FAST: [[ANYEXT:%[0-9]+]]:vgpr(s32) = G_ANYEXT [[TRUNC]](s1)
1280 ; FAST: G_BRCOND [[ZEXT]](s32), %bb.1
1281 ; FAST: G_BR %bb.2
1282 ; FAST: bb.1:
1283 ; FAST: successors: %bb.2(0x80000000)
1284 ; FAST: [[TRUNC2:%[0-9]+]]:vgpr(s1) = G_TRUNC [[COPY1]](s32)
1285 ; FAST: [[ANYEXT1:%[0-9]+]]:vgpr(s32) = G_ANYEXT [[TRUNC2]](s1)
1286 ; FAST: G_BR %bb.2
1287 ; FAST: bb.2:
1288 ; FAST: [[PHI:%[0-9]+]]:vgpr(s32) = G_PHI [[ANYEXT]](s32), %bb.0, [[ANYEXT1]](s32), %bb.1
1289 ; FAST: [[TRUNC3:%[0-9]+]]:vgpr(s1) = G_TRUNC [[PHI]](s32)
1290 ; FAST: [[COPY3:%[0-9]+]]:vcc(s1) = COPY [[TRUNC3]](s1)
1291 ; FAST: [[COPY4:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
1292 ; FAST: [[COPY5:%[0-9]+]]:vgpr(s32) = COPY [[COPY]](s32)
1293 ; FAST: [[SELECT:%[0-9]+]]:vgpr(s32) = G_SELECT [[COPY3]](s1), [[COPY4]], [[COPY5]]
1294 ; FAST: S_SETPC_B64 undef $sgpr30_sgpr31, implicit [[SELECT]](s32)
1355 ; FAST-LABEL: name: phi_s1_v_v_sbranch
1356 ; FAST: bb.0:
1357 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000)
1358 ; FAST: liveins: $vgpr0, $vgpr1, $sgpr0
1359 ; FAST: [[COPY:%[0-9]+]]:vgpr(s32) = COPY $vgpr0
1360 ; FAST: [[COPY1:%[0-9]+]]:vgpr(s32) = COPY $vgpr1
1361 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
1362 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0
1363 ; FAST: [[TRUNC:%[0-9]+]]:vgpr(s1) = G_TRUNC [[COPY]](s32)
1364 ; FAST: [[ICMP:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C]]
1365 ; FAST: [[TRUNC1:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP]](s32)
1366 ; FAST: [[ZEXT:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC1]](s1)
1367 ; FAST: [[ANYEXT:%[0-9]+]]:vgpr(s32) = G_ANYEXT [[TRUNC]](s1)
1368 ; FAST: G_BRCOND [[ZEXT]](s32), %bb.1
1369 ; FAST: G_BR %bb.2
1370 ; FAST: bb.1:
1371 ; FAST: successors: %bb.2(0x80000000)
1372 ; FAST: [[TRUNC2:%[0-9]+]]:vgpr(s1) = G_TRUNC [[COPY1]](s32)
1373 ; FAST: [[ANYEXT1:%[0-9]+]]:vgpr(s32) = G_ANYEXT [[TRUNC2]](s1)
1374 ; FAST: G_BR %bb.2
1375 ; FAST: bb.2:
1376 ; FAST: [[PHI:%[0-9]+]]:vgpr(s32) = G_PHI [[ANYEXT]](s32), %bb.0, [[ANYEXT1]](s32), %bb.1
1377 ; FAST: [[TRUNC3:%[0-9]+]]:vgpr(s1) = G_TRUNC [[PHI]](s32)
1378 ; FAST: [[COPY3:%[0-9]+]]:vcc(s1) = COPY [[TRUNC3]](s1)
1379 ; FAST: [[COPY4:%[0-9]+]]:vgpr(s32) = COPY [[C]](s32)
1380 ; FAST: [[SELECT:%[0-9]+]]:vgpr(s32) = G_SELECT [[COPY3]](s1), [[COPY4]], [[COPY]]
1381 ; FAST: S_SETPC_B64 undef $sgpr30_sgpr31, implicit [[SELECT]](s32)
1441 ; FAST-LABEL: name: phi_s1_s_s_sbranch
1442 ; FAST: bb.0:
1443 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000)
1444 ; FAST: liveins: $sgpr0, $sgpr1, $sgpr2
1445 ; FAST: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
1446 ; FAST: [[COPY1:%[0-9]+]]:sgpr(s32) = COPY $sgpr1
1447 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr2
1448 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0
1449 ; FAST: [[TRUNC:%[0-9]+]]:sgpr(s1) = G_TRUNC [[COPY]](s32)
1450 ; FAST: [[ICMP:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C]]
1451 ; FAST: [[TRUNC1:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP]](s32)
1452 ; FAST: [[ZEXT:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC1]](s1)
1453 ; FAST: [[ANYEXT:%[0-9]+]]:sgpr(s32) = G_ANYEXT [[TRUNC]](s1)
1454 ; FAST: G_BRCOND [[ZEXT]](s32), %bb.1
1455 ; FAST: G_BR %bb.2
1456 ; FAST: bb.1:
1457 ; FAST: successors: %bb.2(0x80000000)
1458 ; FAST: [[TRUNC2:%[0-9]+]]:sgpr(s1) = G_TRUNC [[COPY1]](s32)
1459 ; FAST: [[ANYEXT1:%[0-9]+]]:sgpr(s32) = G_ANYEXT [[TRUNC2]](s1)
1460 ; FAST: G_BR %bb.2
1461 ; FAST: bb.2:
1462 ; FAST: [[PHI:%[0-9]+]]:sgpr(s32) = G_PHI [[ANYEXT]](s32), %bb.0, [[ANYEXT1]](s32), %bb.1
1463 ; FAST: [[TRUNC3:%[0-9]+]]:sgpr(s1) = G_TRUNC [[PHI]](s32)
1464 ; FAST: [[ZEXT1:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC3]](s1)
1465 ; FAST: [[SELECT:%[0-9]+]]:sgpr(s32) = G_SELECT [[ZEXT1]](s32), [[C]], [[COPY]]
1466 ; FAST: S_SETPC_B64 undef $sgpr30_sgpr31, implicit [[SELECT]](s32)
1525 ; FAST-LABEL: name: phi_s1_vcc_result_scc_scc_sbranch
1526 ; FAST: bb.0:
1527 ; FAST: successors: %bb.1(0x40000000), %bb.2(0x40000000)
1528 ; FAST: liveins: $sgpr0, $sgpr1, $sgpr2
1529 ; FAST: [[COPY:%[0-9]+]]:sgpr(s32) = COPY $sgpr0
1530 ; FAST: [[COPY1:%[0-9]+]]:sgpr(s32) = COPY $sgpr1
1531 ; FAST: [[COPY2:%[0-9]+]]:sgpr(s32) = COPY $sgpr2
1532 ; FAST: [[C:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 0
1533 ; FAST: [[ICMP:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY]](s32), [[C]]
1534 ; FAST: [[TRUNC:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP]](s32)
1535 ; FAST: [[ICMP1:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY2]](s32), [[C]]
1536 ; FAST: [[TRUNC1:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP1]](s32)
1537 ; FAST: [[ZEXT:%[0-9]+]]:sgpr(s32) = G_ZEXT [[TRUNC1]](s1)
1538 ; FAST: [[COPY3:%[0-9]+]]:vcc(s1) = COPY [[TRUNC]](s1)
1539 ; FAST: G_BRCOND [[ZEXT]](s32), %bb.1
1540 ; FAST: G_BR %bb.2
1541 ; FAST: bb.1:
1542 ; FAST: successors: %bb.2(0x80000000)
1543 ; FAST: [[ICMP2:%[0-9]+]]:sgpr(s32) = G_ICMP intpred(eq), [[COPY1]](s32), [[C]]
1544 ; FAST: [[TRUNC2:%[0-9]+]]:sgpr(s1) = G_TRUNC [[ICMP2]](s32)
1545 ; FAST: [[COPY4:%[0-9]+]]:vcc(s1) = COPY [[TRUNC2]](s1)
1546 ; FAST: G_BR %bb.2
1547 ; FAST: bb.2:
1548 ; FAST: [[PHI:%[0-9]+]]:vcc(s1) = G_PHI [[COPY3]](s1), %bb.0, [[COPY4]](s1), %bb.1
1549 ; FAST: [[C1:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 123
1550 ; FAST: [[COPY5:%[0-9]+]]:vgpr(s32) = COPY [[C1]](s32)
1551 ; FAST: [[C2:%[0-9]+]]:sgpr(s32) = G_CONSTANT i32 456
1552 ; FAST: [[COPY6:%[0-9]+]]:vgpr(s32) = COPY [[C2]](s32)
1553 ; FAST: [[SELECT:%[0-9]+]]:vgpr(s32) = G_SELECT [[PHI]](s1), [[COPY5]], [[COPY6]]
1554 ; FAST: S_SETPC_B64 undef $sgpr30_sgpr31, implicit [[SELECT]](s32)