Mercurial > hg > CbC > CbC_llvm
comparison llvm/test/TableGen/ConstraintChecking1.td @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 1d019706d866 |
children |
comparison
equal
deleted
inserted
replaced
232:70dce7da266c | 236:c4bab56944e8 |
---|---|
1 // RUN: not llvm-tblgen -gen-asm-writer -I %p -I %p/../../include %s 2>&1 | FileCheck %s -DFILE=%s | 1 // RUN: not llvm-tblgen -gen-asm-writer -I %p -I %p/../../include %s 2>&1 | FileCheck %s -DFILE=%s |
2 | 2 |
3 include "ConstraintChecking.inc" | 3 include "ConstraintChecking.inc" |
4 | 4 |
5 // CHECK: [[FILE]]:[[@LINE+1]]:1: error: Unrecognized constraint '$dest1 ~ $src2' in 'Foo' | 5 // CHECK: [[FILE]]:[[@LINE+1]]:5: error: Unrecognized constraint '$dest1 ~ $src2' in 'Foo' |
6 def Foo : TestInstructionWithConstraints<"$dest1 ~ $src2">; | 6 def Foo : TestInstructionWithConstraints<"$dest1 ~ $src2">; |