diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-11-10 14:26:08 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-11-10 14:26:08 +0000 |
commit | a22657f45757bd11603bec893aa041425d089819 (patch) | |
tree | b8500b383d4a48d8e73eaaf84bd5470fc614f9f9 /test/TableGen | |
parent | c48f086d7c9dcaddd1b4025ce308a4583047202f (diff) | |
download | llvm-a22657f45757bd11603bec893aa041425d089819.tar.gz llvm-a22657f45757bd11603bec893aa041425d089819.tar.bz2 llvm-a22657f45757bd11603bec893aa041425d089819.tar.xz |
Mark 36 tests as XFAIL:vg_leak in llvm/test/TableGen.
In historical reason, tblgen is not strictly required to be free from memory leaks.
For now, I mark them as XFAIL, they could be fixed, though.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194353 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TableGen')
36 files changed, 36 insertions, 0 deletions
diff --git a/test/TableGen/2010-03-24-PrematureDefaults.td b/test/TableGen/2010-03-24-PrematureDefaults.td index 716a1d5900..24f6c93b3e 100644 --- a/test/TableGen/2010-03-24-PrematureDefaults.td +++ b/test/TableGen/2010-03-24-PrematureDefaults.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class A<int k, bits<2> x = 1> { int K = k; diff --git a/test/TableGen/Dag.td b/test/TableGen/Dag.td index 14d616b521..fea3aeedde 100644 --- a/test/TableGen/Dag.td +++ b/test/TableGen/Dag.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak //===----------------------------------------------------------------------===// // Substitution of an int. diff --git a/test/TableGen/DefmInherit.td b/test/TableGen/DefmInherit.td index ee86e9bd70..bfbb43568b 100644 --- a/test/TableGen/DefmInherit.td +++ b/test/TableGen/DefmInherit.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak // CHECK: zing = 4 // CHECK: zing = 4 diff --git a/test/TableGen/DefmInsideMultiClass.td b/test/TableGen/DefmInsideMultiClass.td index 7353d3630b..d34974de02 100644 --- a/test/TableGen/DefmInsideMultiClass.td +++ b/test/TableGen/DefmInsideMultiClass.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak // CHECK: ADDPSrr // CHECK-NOT: ADDPSrr diff --git a/test/TableGen/ForeachList.td b/test/TableGen/ForeachList.td index 9bc76e0f0c..99b7e14c2d 100644 --- a/test/TableGen/ForeachList.td +++ b/test/TableGen/ForeachList.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Register<string name, int idx> { string Name = name; diff --git a/test/TableGen/ForeachLoop.td b/test/TableGen/ForeachLoop.td index a49a60bf26..4aacc74d8a 100644 --- a/test/TableGen/ForeachLoop.td +++ b/test/TableGen/ForeachLoop.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Register<string name, int idx> { string Name = name; diff --git a/test/TableGen/LetInsideMultiClasses.td b/test/TableGen/LetInsideMultiClasses.td index cfa756df20..095f37bfb9 100644 --- a/test/TableGen/LetInsideMultiClasses.td +++ b/test/TableGen/LetInsideMultiClasses.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak // CHECK: bit IsDouble = 1; // CHECK: bit IsDouble = 1; diff --git a/test/TableGen/ListOfList.td b/test/TableGen/ListOfList.td index c646e3b480..56f964e868 100644 --- a/test/TableGen/ListOfList.td +++ b/test/TableGen/ListOfList.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Base<string t> { string text = t; diff --git a/test/TableGen/LoLoL.td b/test/TableGen/LoLoL.td index f758e1b604..778c9609d1 100644 --- a/test/TableGen/LoLoL.td +++ b/test/TableGen/LoLoL.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Base<list<int> v> { list<int> values = v; diff --git a/test/TableGen/MultiClass.td b/test/TableGen/MultiClass.td index 6b6cab11cb..9c39963458 100644 --- a/test/TableGen/MultiClass.td +++ b/test/TableGen/MultiClass.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak // CHECK: zing = 4 // CHECK: zing = 4 diff --git a/test/TableGen/MultiClassDefName.td b/test/TableGen/MultiClassDefName.td index 3ee5c10de4..d3c6de7e84 100644 --- a/test/TableGen/MultiClassDefName.td +++ b/test/TableGen/MultiClassDefName.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak // CHECK: WorldHelloCC // CHECK-NOT: WorldHelloCC diff --git a/test/TableGen/MultiClassInherit.td b/test/TableGen/MultiClassInherit.td index 7a9be3d7e8..04fef2c849 100644 --- a/test/TableGen/MultiClassInherit.td +++ b/test/TableGen/MultiClassInherit.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak // "zing = 4" x 28 // CHECK: zing = 4 diff --git a/test/TableGen/MultiPat.td b/test/TableGen/MultiPat.td index b49b06c24c..b3792777b6 100644 --- a/test/TableGen/MultiPat.td +++ b/test/TableGen/MultiPat.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class ValueType<int size, int value> { int Size = size; diff --git a/test/TableGen/NestedForeach.td b/test/TableGen/NestedForeach.td index 5b63175b19..e8c16f720d 100644 --- a/test/TableGen/NestedForeach.td +++ b/test/TableGen/NestedForeach.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Droid<string series, int release, string model, int patchlevel> { string Series = series; diff --git a/test/TableGen/Paste.td b/test/TableGen/Paste.td index 33d61ccde1..a7e2a5b318 100644 --- a/test/TableGen/Paste.td +++ b/test/TableGen/Paste.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Instr<int i> { int index = i; diff --git a/test/TableGen/SetTheory.td b/test/TableGen/SetTheory.td index f26b9e65ac..761332312b 100644 --- a/test/TableGen/SetTheory.td +++ b/test/TableGen/SetTheory.td @@ -1,5 +1,6 @@ // Test evaluation of set operations in dags. // RUN: llvm-tblgen -print-sets %s | FileCheck %s +// XFAIL: vg_leak // // The -print-sets driver configures a primitive SetTheory instance that // understands these sets: diff --git a/test/TableGen/SiblingForeach.td b/test/TableGen/SiblingForeach.td index e4c4704a5e..a11f6f87b4 100644 --- a/test/TableGen/SiblingForeach.td +++ b/test/TableGen/SiblingForeach.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Set<int i = 0, int j = 0, int k = 0> { int I = i; diff --git a/test/TableGen/Slice.td b/test/TableGen/Slice.td index 7a35d315c5..89deaefc9a 100644 --- a/test/TableGen/Slice.td +++ b/test/TableGen/Slice.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class ValueType<int size, int value> { int Size = size; diff --git a/test/TableGen/TargetInstrSpec.td b/test/TableGen/TargetInstrSpec.td index f23bec77d4..32253a3a21 100644 --- a/test/TableGen/TargetInstrSpec.td +++ b/test/TableGen/TargetInstrSpec.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak // CHECK: [(set VR128:$dst, (int_x86_sse2_add_pd VR128:$src1, VR128:$src2))] // CHECK-NOT: [(set VR128:$dst, (int_x86_sse2_add_pd VR128:$src1, VR128:$src2))] diff --git a/test/TableGen/TwoLevelName.td b/test/TableGen/TwoLevelName.td index e88696217f..9c502f4755 100644 --- a/test/TableGen/TwoLevelName.td +++ b/test/TableGen/TwoLevelName.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Type<string name, int length, int width> { string Name = name; diff --git a/test/TableGen/cast.td b/test/TableGen/cast.td index 7ca72394b6..a8bd207a85 100644 --- a/test/TableGen/cast.td +++ b/test/TableGen/cast.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak // CHECK: add_ps // CHECK: add_ps diff --git a/test/TableGen/defmclass.td b/test/TableGen/defmclass.td index 6198c000fd..80f03b3194 100644 --- a/test/TableGen/defmclass.td +++ b/test/TableGen/defmclass.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class XD { bits<4> Prefix = 11; } // CHECK: Prefix = { 1, 1, 0, 0 }; diff --git a/test/TableGen/eq.td b/test/TableGen/eq.td index fc3ad424e2..f8daf880b9 100644 --- a/test/TableGen/eq.td +++ b/test/TableGen/eq.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak // CHECK: Value = 0 // CHECK: Value = 1 diff --git a/test/TableGen/eqbit.td b/test/TableGen/eqbit.td index b77b1a26df..1d58fa0c19 100644 --- a/test/TableGen/eqbit.td +++ b/test/TableGen/eqbit.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak // CHECK: a = 6 // CHECK: a = 5 diff --git a/test/TableGen/foreach.td b/test/TableGen/foreach.td index fea8678c0a..541da49ccd 100644 --- a/test/TableGen/foreach.td +++ b/test/TableGen/foreach.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak // CHECK: Classes // CHECK: Sr diff --git a/test/TableGen/if.td b/test/TableGen/if.td index e4df74f368..1d8d62329a 100644 --- a/test/TableGen/if.td +++ b/test/TableGen/if.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak // Support for an `!if' operator as part of a `let' statement. // CHECK: class C diff --git a/test/TableGen/ifbit.td b/test/TableGen/ifbit.td index e3341219ff..88f575e9ac 100644 --- a/test/TableGen/ifbit.td +++ b/test/TableGen/ifbit.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak // CHECK: a = 6 // CHECK: a = 5 diff --git a/test/TableGen/intrinsic-order.td b/test/TableGen/intrinsic-order.td index 5eadf60a6e..13c2db27e1 100644 --- a/test/TableGen/intrinsic-order.td +++ b/test/TableGen/intrinsic-order.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen -gen-intrinsic %s | FileCheck %s +// XFAIL: vg_leak class IntrinsicProperty; diff --git a/test/TableGen/intrinsic-varargs.td b/test/TableGen/intrinsic-varargs.td index ec1fd35829..3e48f8da33 100644 --- a/test/TableGen/intrinsic-varargs.td +++ b/test/TableGen/intrinsic-varargs.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen -gen-intrinsic %s | FileCheck %s +// XFAIL: vg_leak class IntrinsicProperty; diff --git a/test/TableGen/lisp.td b/test/TableGen/lisp.td index d753fbd299..9e586055ff 100644 --- a/test/TableGen/lisp.td +++ b/test/TableGen/lisp.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s +// XFAIL: vg_leak // CHECK: def One { // CHECK-NEXT: list<string> names = ["Jeffrey Sinclair"]; diff --git a/test/TableGen/list-element-bitref.td b/test/TableGen/list-element-bitref.td index 7db3d31167..4622f28526 100644 --- a/test/TableGen/list-element-bitref.td +++ b/test/TableGen/list-element-bitref.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class C<list<bits<8>> L> { bits<2> V0 = L[0]{1-0}; diff --git a/test/TableGen/math.td b/test/TableGen/math.td index bde267a652..59d16ae908 100644 --- a/test/TableGen/math.td +++ b/test/TableGen/math.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Int<int value> { int Value = value; diff --git a/test/TableGen/pr8330.td b/test/TableGen/pr8330.td index e672014789..7779b635e3 100644 --- a/test/TableGen/pr8330.td +++ b/test/TableGen/pr8330.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Or4<bits<8> Val> { bits<8> V = {Val{7}, Val{6}, Val{5}, Val{4}, Val{3}, 1, Val{1}, Val{0} }; diff --git a/test/TableGen/subst.td b/test/TableGen/subst.td index b65c928930..34818afaa7 100644 --- a/test/TableGen/subst.td +++ b/test/TableGen/subst.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Honorific<string t> { string honorific = t; diff --git a/test/TableGen/subst2.td b/test/TableGen/subst2.td index ce7307703d..7c007f7db1 100644 --- a/test/TableGen/subst2.td +++ b/test/TableGen/subst2.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak // CHECK: No subst // CHECK: No foo // CHECK: RECURSE foo diff --git a/test/TableGen/usevalname.td b/test/TableGen/usevalname.td index a80ba12869..d85b98ac33 100644 --- a/test/TableGen/usevalname.td +++ b/test/TableGen/usevalname.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Instr<list<dag> pat> { list<dag> Pattern = pat; |