26 lines · plain
1# RUN: not --crash llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -verify-machineinstrs -run-pass=none -filetype=null %s 2>&1 | FileCheck %s2 3# FIXME: Value error messages are misleading.4---5name: test6body: |7 bb.0:8 %0:av_64 = IMPLICIT_DEF9 10 ; CHECK: *** Bad machine code: Expected immediate, but got non-immediate ***11 %1:av_64 = AV_MOV_B64_IMM_PSEUDO %1, implicit $exec12 13 ; Low half isn't inline imm14 ; CHECK: *** Bad machine code: VOP3 instruction uses literal ***15 %2:av_64 = AV_MOV_B64_IMM_PSEUDO 65, implicit $exec16 17 ; High half isn't inline imm18 ; CHECK: *** Bad machine code: VOP3 instruction uses literal ***19 %2:av_64 = AV_MOV_B64_IMM_PSEUDO 279172874240, implicit $exec20 21 ; Neither half is inline imm22 ; CHECK: *** Bad machine code: VOP3 instruction uses literal ***23 %3:av_64 = AV_MOV_B64_IMM_PSEUDO 279172874306, implicit $exec24 25...26