brintos

brintos / llvm-project-archived public Read only

0
0
Text · 897 B · 9b96902 Raw
34 lines · plain
1#RUN: not --crash llc -o - -global-isel -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s2# REQUIRES: aarch64-registered-target3--- |4  ; ModuleID = 'test.ll'5  source_filename = "test.ll"6  target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"7  target triple = "aarch64-unknown-unknown"8  9  define i32 @test_copy(i32 %argc) {10    ret i32 011  }12  define i32 @test_copy_type_mismatch(i32 %argc) {13    ret i32 014  }15 16...17---18name:            test_copy19legalized:       true20regBankSelected: false21selected:        false22tracksRegLiveness: true23registers:       24  - { id: 0, class: _, preferred-register: '' }25liveins:         26body:             |27  bb.0:28    liveins: $w029    ; This test is used to catch verifier errors with copys having mismatching sizes30    ; CHECK: Bad machine code: Copy Instruction is illegal with mismatching sizes31 32    %0(s8) = COPY $w033...34