brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.7 KiB · e2903b2 Raw
127 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple=riscv32 -run-pass=legalizer %s -o - \3# RUN: | FileCheck %s4---5name:            const_i76body:             |7  bb.0.entry:8    ; CHECK-LABEL: name: const_i79    ; CHECK: [[C:%[0-9]+]]:_(s32) = G_CONSTANT i32 1510    ; CHECK-NEXT: $x10 = COPY [[C]](s32)11    ; CHECK-NEXT: PseudoRET implicit $x1012    %0:_(s7) = G_CONSTANT i7 1513    %1:_(s32) = G_ANYEXT %0(s7)14    $x10 = COPY %1(s32)15    PseudoRET implicit $x1016 17...18---19name:            const_i820body:             |21  bb.0.entry:22    ; CHECK-LABEL: name: const_i823    ; CHECK: [[C:%[0-9]+]]:_(s32) = G_CONSTANT i32 -12724    ; CHECK-NEXT: $x10 = COPY [[C]](s32)25    ; CHECK-NEXT: PseudoRET implicit $x1026    %0:_(s8) = G_CONSTANT i8 12927    %1:_(s32) = G_ANYEXT %0(s8)28    $x10 = COPY %1(s32)29    PseudoRET implicit $x1030 31...32---33name:            const_i1634body:             |35  bb.0.entry:36    ; CHECK-LABEL: name: const_i1637    ; CHECK: [[C:%[0-9]+]]:_(s32) = G_CONSTANT i32 3276738    ; CHECK-NEXT: $x10 = COPY [[C]](s32)39    ; CHECK-NEXT: PseudoRET implicit $x1040    %0:_(s16) = G_CONSTANT i16 -3276941    %1:_(s32) = G_ANYEXT %0(s16)42    $x10 = COPY %1(s32)43    PseudoRET implicit $x1044 45...46---47name:            const_i3248body:             |49  bb.0.entry:50    ; CHECK-LABEL: name: const_i3251    ; CHECK: [[C:%[0-9]+]]:_(s32) = G_CONSTANT i32 -214748364752    ; CHECK-NEXT: $x10 = COPY [[C]](s32)53    ; CHECK-NEXT: PseudoRET implicit $x1054    %0:_(s32) = G_CONSTANT i32 214748364955    $x10 = COPY %0(s32)56    PseudoRET implicit $x1057 58...59---60name:            const_i4861body:             |62  bb.0.entry:63    ; CHECK-LABEL: name: const_i4864    ; CHECK: [[C:%[0-9]+]]:_(s32) = G_CONSTANT i32 265    ; CHECK-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 066    ; CHECK-NEXT: $x10 = COPY [[C]](s32)67    ; CHECK-NEXT: $x11 = COPY [[C1]](s32)68    ; CHECK-NEXT: PseudoRET implicit $x10, implicit $x1169    %0:_(s48) = G_CONSTANT i48 270    %1:_(s64) = G_ANYEXT %0(s48)71    %2:_(s32), %3:_(s32) = G_UNMERGE_VALUES %1(s64)72    $x10 = COPY %2(s32)73    $x11 = COPY %3(s32)74    PseudoRET implicit $x10, implicit $x1175 76...77---78name:            const_i6479body:             |80  bb.0.entry:81    ; CHECK-LABEL: name: const_i6482    ; CHECK: [[C:%[0-9]+]]:_(s32) = G_CONSTANT i32 -214748364783    ; CHECK-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 084    ; CHECK-NEXT: $x10 = COPY [[C]](s32)85    ; CHECK-NEXT: $x11 = COPY [[C1]](s32)86    ; CHECK-NEXT: PseudoRET implicit $x10, implicit $x1187    %0:_(s64) = G_CONSTANT i64 214748364988    %1:_(s32), %2:_(s32) = G_UNMERGE_VALUES %0(s64)89    $x10 = COPY %1(s32)90    $x11 = COPY %2(s32)91    PseudoRET implicit $x10, implicit $x1192 93...94---95name:            const_i9696body:             |97  bb.0.entry:98    ; CHECK-LABEL: name: const_i9699    ; CHECK: [[C:%[0-9]+]]:_(s32) = G_CONSTANT i32 -121100    ; CHECK-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 -51101    ; CHECK-NEXT: [[C2:%[0-9]+]]:_(s32) = G_CONSTANT i32 -1102    ; CHECK-NEXT: $x10 = COPY [[C]](s32)103    ; CHECK-NEXT: $x11 = COPY [[C1]](s32)104    ; CHECK-NEXT: $x12 = COPY [[C2]](s32)105    ; CHECK-NEXT: PseudoRET implicit $x10, implicit $x11, implicit $x12106    %0:_(s96) = G_CONSTANT i96 -214748364921107    %1:_(s32), %2:_(s32), %3:_(s32) = G_UNMERGE_VALUES %0(s96)108    $x10 = COPY %1(s32)109    $x11 = COPY %2(s32)110    $x12 = COPY %3(s32)111    PseudoRET implicit $x10, implicit $x11, implicit $x12112 113...114---115name:            const_null116body:             |117  bb.0.entry:118    ; CHECK-LABEL: name: const_null119    ; CHECK: [[C:%[0-9]+]]:_(p0) = G_CONSTANT i32 0120    ; CHECK-NEXT: $x10 = COPY [[C]](p0)121    ; CHECK-NEXT: PseudoRET implicit $x10122    %0:_(p0) = G_CONSTANT i32 0123    $x10 = COPY %0(p0)124    PseudoRET implicit $x10125 126...127