brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · a8ec01e Raw
47 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple=riscv32 -run-pass=instruction-select -simplify-mir \3# RUN: -verify-machineinstrs %s -o - | FileCheck %s4 5---6name:            ptrtoint_s327legalized:       true8regBankSelected: true9tracksRegLiveness: true10body:             |11  bb.0.entry:12    liveins: $x10, $x1113 14    ; CHECK-LABEL: name: ptrtoint_s3215    ; CHECK: liveins: $x10, $x1116    ; CHECK-NEXT: {{  $}}17    ; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr = COPY $x1018    ; CHECK-NEXT: $x10 = COPY [[COPY]]19    ; CHECK-NEXT: PseudoRET implicit $x1020    %0:gprb(p0) = COPY $x1021    %1:gprb(s32) = G_PTRTOINT %0(p0)22    $x10 = COPY %1(s32)23    PseudoRET implicit $x1024 25...26---27name:            inttoptr_s3228legalized:       true29regBankSelected: true30tracksRegLiveness: true31body:             |32  bb.0.entry:33    liveins: $x10, $x1134 35    ; CHECK-LABEL: name: inttoptr_s3236    ; CHECK: liveins: $x10, $x1137    ; CHECK-NEXT: {{  $}}38    ; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr = COPY $x1039    ; CHECK-NEXT: $x10 = COPY [[COPY]]40    ; CHECK-NEXT: PseudoRET implicit $x1041    %0:gprb(s32) = COPY $x1042    %1:gprb(p0) = G_INTTOPTR %0(s32)43    $x10 = COPY %1(p0)44    PseudoRET implicit $x1045 46...47