1 # RUN: llc -march=x86-64 -run-pass none -o - %s | FileCheck %s
2 # REQUIRES: global-isel
3 # Test that the MIR parser parses types on generic instructions correctly.
6 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
7 %type_alias = type <2 x i32>
8 %structure_alias = type { i32, i16 }
9 define void @test_vregs() {
13 define void @test_unsized() {
22 # CHECK-NEXT: - { id: 0, class: _, preferred-register: '' }
23 # CHECK-NEXT: - { id: 1, class: _, preferred-register: '' }
24 # CHECK-NEXT: - { id: 2, class: _, preferred-register: '' }
25 # CHECK-NEXT: - { id: 3, class: _, preferred-register: '' }
26 # CHECK-NEXT: - { id: 4, class: _, preferred-register: '' }
40 ; CHECK: %1:_(s32) = G_ADD %0
42 %6(<4 x s32>) = COPY $xmm0
45 %1(s32) = G_ADD %0, %0
46 ; CHECK: %2:_(<4 x s32>) = G_ADD %6, %6
47 %2(<4 x s32>) = G_ADD %6, %6
48 ; CHECK: %3:_(s64) = G_ADD %7, %7
49 %3(s64) = G_ADD %7, %7
51 ; CHECK: %5:_(s48) = G_ADD %8, %8
53 %5(s48) = G_ADD %8, %8