brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 3c7b70e Raw
27 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 52# RUN: llc -mtriple=riscv64 -mattr=+v -run-pass=none %s -o - | FileCheck %s3 4# During the MachineVerifier, it assumes that used registers have been defined5# In this test case, while $v12_v13_v14_v15_v16 covers $v14_v15,6# $v14_v15 is not a sub-register of $v14m2 even though they share the same register.7# This corner case can be resolved by checking the register using RegUnit.8 9...10---11name:            func12tracksRegLiveness: true13tracksDebugUserValues: true14body:             |15  bb.0:16    liveins: $v0, $v8, $v9, $v10, $v1117 18    ; CHECK-LABEL: name: func19    ; CHECK: liveins: $v0, $v8, $v9, $v10, $v1120    ; CHECK-NEXT: {{  $}}21    ; CHECK-NEXT: renamable $v16m2 = PseudoVMV_V_I_M2 undef renamable $v16m2, 0, -1, 3 /* e8 */, 0 /* tu, mu */, implicit $vl, implicit $vtype22    ; CHECK-NEXT: $v20m2 = VMV2R_V $v14m2, implicit $v12_v13_v14_v15_v16, implicit $vtype23    renamable $v16m2 = PseudoVMV_V_I_M2 undef renamable $v16m2, 0, -1, 3 /* e8 */, 0 /* tu, mu */, implicit $vl, implicit $vtype24    $v20m2 = VMV2R_V $v14m2, implicit $v12_v13_v14_v15_v16, implicit $vtype25 26...27