1 #RUN: not --crash llc -mtriple=amdgcn-amd-amdhsa -o - -global-isel -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
8 tracksRegLiveness: true
12 ; CHECK: Bad machine code: bitcast cannot convert between pointers and other types
13 %0:_(s64) = G_IMPLICIT_DEF
14 %1:_(p0) = G_BITCAST %0
16 ; CHECK: Bad machine code: bitcast cannot convert between pointers and other
17 %2:_(p0) = G_IMPLICIT_DEF
18 %3:_(s64) = G_BITCAST %2
20 ; CHECK: Bad machine code: bitcast sizes must match
21 %4:_(s32) = G_IMPLICIT_DEF
22 %5:_(s64) = G_BITCAST %4
24 ; CHECK: Bad machine code: bitcast sizes must match
25 %6:_(s32) = G_IMPLICIT_DEF
26 %7:_(<3 x s8>) = G_BITCAST %6
28 ; CHECK: Bad machine code: bitcast sizes must match
29 %8:_(p1) = G_IMPLICIT_DEF
30 %9:_(p3) = G_BITCAST %8
32 ; CHECK: Bad machine code: bitcast sizes must match
33 %10:_(p1) = G_IMPLICIT_DEF
34 %11:_(p3) = G_BITCAST %8
36 ; CHECK: Bad machine code: bitcast must change the type
37 %12:_(s64) = G_BITCAST %0