brintos

brintos / llvm-project-archived public Read only

0
0
Text · 823 B · b14f977 Raw
34 lines · plain
1# RUN: not --crash llc -verify-machineinstrs -run-pass none -o /dev/null %s 2>&1 | FileCheck %s2# REQUIRES: aarch64-registered-target3 4--- |5 6  target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"7  target triple = "aarch64--"8  define void @test() { ret void }9 10...11 12---13name:            test14regBankSelected: true15selected: true16registers:17  - { id: 0, class: gpr64 }18  - { id: 1, class: gpr64 }19  - { id: 2, class: gpr }20body: |21  bb.0:22   liveins: $x023   %0 = COPY $x024 25   ; CHECK: *** Bad machine code: Unexpected generic instruction in a Selected function ***26   ; CHECK: instruction: %1:gpr64 = G_ADD27   %1 = G_ADD %0, %028 29   ; CHECK: *** Bad machine code: Generic virtual register invalid in a Selected function ***30   ; CHECK: instruction: %2:gpr(s64) = COPY31   ; CHECK: operand 0: %232   %2(s64) = COPY $x033...34