• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#RUN: not --crash llc -o - -global-isel -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
2# REQUIRES: aarch64-registered-target
3--- |
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 0
11  }
12  define i32 @test_copy_type_mismatch(i32 %argc) {
13    ret i32 0
14  }
15
16...
17---
18name:            test_copy
19legalized:       true
20regBankSelected: false
21selected:        false
22tracksRegLiveness: true
23registers:
24  - { id: 0, class: _, preferred-register: '' }
25liveins:
26body:             |
27  bb.0:
28    liveins: $w0
29    ; This test is used to catch verifier errors with copys having mismatching sizes
30    ; CHECK: Bad machine code: Copy Instruction is illegal with mismatching sizes
31
32    %0(s8) = COPY $w0
33...
34