brintos

brintos / llvm-project-archived public Read only

0
0
Text · 932 B · 9ff904c Raw
26 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -run-pass si-shrink-instructions -verify-machineinstrs %s -o - | FileCheck -check-prefix=GCN %s3# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -passes si-shrink-instructions -verify-machineinstrs %s -o - | FileCheck -check-prefix=GCN %s4 5---6name:             not_shrink_icmp7body:             |8  bb.0:9    ; GCN-LABEL: name: not_shrink_icmp10    ; GCN: S_CMP_LT_I32 65, 1, implicit-def $scc11    S_CMP_GT_I32 1, 65, implicit-def $scc12...13 14---15name:             shrink_icmp16body:             |17  bb.0:18    ; GCN-LABEL: name: shrink_icmp19    ; GCN: %op0:sgpr_32 = COPY $sgpr020    ; GCN-NEXT: %cond:sreg_64 = V_CMPX_GE_U32_e64 5, %op0, implicit-def $exec, implicit $exec21    ; GCN-NEXT: S_NOP 022    %op0:sgpr_32 = COPY $sgpr023    %cond:sreg_64 = V_CMPX_LE_U32_e64 %op0, 5, implicit-def $exec, implicit $exec24    S_NOP 025...26