[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / TableGen / ConstraintChecking3.td
blob835ec2e035f7dff21ffcd4c6a988c4b72f395d22
1 // RUN: not llvm-tblgen -gen-asm-writer -I %p -I %p/../../include %s 2>&1 | FileCheck %s -DFILE=%s
3 include "ConstraintChecking.inc"
5 // (This is illegal because the '=' has to be surrounded by whitespace)
7 // CHECK: [[FILE]]:[[@LINE+1]]:1: error: Illegal format for tied-to constraint in 'Foo'
8 def Foo : TestInstructionWithConstraints<"$dest1=$dest2">;