llvm.org GIT mirror llvm / 67be8f8
Correct test in r362634 git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_80@362635 91177308-0d34-0410-b5e6-96231b3b80d8 Matt Arsenault 1 year, 5 months ago
1 changed file(s) with 11 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
601601 ; GCN: [[COPY:%[0-9]+]]:vgpr_32 = COPY $vgpr0
602602 ; GCN: [[V_MOV_B32_e32_:%[0-9]+]]:vgpr_32 = V_MOV_B32_e32 518144, implicit $exec
603603 ; GCN: [[V_ADD_I32_e32_:%[0-9]+]]:vgpr_32 = V_ADD_I32_e32 killed [[V_MOV_B32_e32_]], [[COPY]], implicit-def $vcc, implicit $exec
604 ; GCN: S_ENDPGM 0, implicit [[V_ADD_I32_e32_]]
604 ; GCN: S_ENDPGM implicit [[V_ADD_I32_e32_]]
605605 %0:vgpr_32 = COPY $vgpr0
606606 %1:vgpr_32 = V_MOV_B32_e32 518144, implicit $exec
607 %2:vgpr_32, %3:sreg_64_xexec = V_ADD_I32_e64 killed %1, %0, 0, implicit $exec
608 S_ENDPGM 0, implicit %2
607 %2:vgpr_32, %3:sreg_64_xexec = V_ADD_I32_e64 killed %1, %0, implicit $exec
608 S_ENDPGM implicit %2
609609 ...
610610
611611 ---
619619 ; GCN: [[COPY:%[0-9]+]]:vgpr_32 = COPY $vgpr0
620620 ; GCN: [[V_MOV_B32_e32_:%[0-9]+]]:vgpr_32 = V_MOV_B32_e32 518144, implicit $exec
621621 ; GCN: [[V_ADD_I32_e32_:%[0-9]+]]:vgpr_32 = V_ADD_I32_e32 [[V_MOV_B32_e32_]], killed [[COPY]], implicit-def $vcc, implicit $exec
622 ; GCN: S_ENDPGM 0, implicit [[V_ADD_I32_e32_]]
622 ; GCN: S_ENDPGM implicit [[V_ADD_I32_e32_]]
623623 %0:vgpr_32 = COPY $vgpr0
624624 %1:vgpr_32 = V_MOV_B32_e32 518144, implicit $exec
625 %2:vgpr_32, %3:sreg_64_xexec = V_ADD_I32_e64 %1, killed %0, 0, implicit $exec
626 S_ENDPGM 0, implicit %2
625 %2:vgpr_32, %3:sreg_64_xexec = V_ADD_I32_e64 %1, killed %0, implicit $exec
626 S_ENDPGM implicit %2
627627 ...
628628
629629 ---
637637 ; GCN: [[COPY:%[0-9]+]]:vgpr_32 = COPY $vgpr0
638638 ; GCN: [[V_MOV_B32_e32_:%[0-9]+]]:vgpr_32 = V_MOV_B32_e32 518144, implicit $exec
639639 ; GCN: [[COPY1:%[0-9]+]]:sreg_64_xexec = COPY $vcc
640 ; GCN: [[V_ADDC_U32_e64_:%[0-9]+]]:vgpr_32, [[V_ADDC_U32_e64_1:%[0-9]+]]:sreg_64_xexec = V_ADDC_U32_e64 [[V_MOV_B32_e32_]], [[COPY]], [[COPY1]], 0, implicit $exec
641 ; GCN: S_ENDPGM 0, implicit [[V_ADDC_U32_e64_]]
640 ; GCN: [[V_ADDC_U32_e64_:%[0-9]+]]:vgpr_32, [[V_ADDC_U32_e64_1:%[0-9]+]]:sreg_64_xexec = V_ADDC_U32_e64 [[V_MOV_B32_e32_]], [[COPY]], [[COPY1]], implicit $exec
641 ; GCN: S_ENDPGM implicit [[V_ADDC_U32_e64_]]
642642 %0:vgpr_32 = COPY $vgpr0
643643 %1:vgpr_32 = V_MOV_B32_e32 518144, implicit $exec
644644 %2:sreg_64_xexec = COPY $vcc
645 %3:vgpr_32, %4:sreg_64_xexec = V_ADDC_U32_e64 %1, %0, %2, 0, implicit $exec
646 S_ENDPGM 0, implicit %3
647 ...
645 %3:vgpr_32, %4:sreg_64_xexec = V_ADDC_U32_e64 %1, %0, %2, implicit $exec
646 S_ENDPGM implicit %3
647 ...