From 5c0be2f67ac0d23281b56918f6fe66ed78b9d65b Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sun, 10 Nov 2013 14:26:08 +0000 Subject: [PATCH] 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. llvm-svn: 194353 --- llvm/test/TableGen/2010-03-24-PrematureDefaults.td | 1 + llvm/test/TableGen/Dag.td | 1 + llvm/test/TableGen/DefmInherit.td | 1 + llvm/test/TableGen/DefmInsideMultiClass.td | 1 + llvm/test/TableGen/ForeachList.td | 1 + llvm/test/TableGen/ForeachLoop.td | 1 + llvm/test/TableGen/LetInsideMultiClasses.td | 1 + llvm/test/TableGen/ListOfList.td | 1 + llvm/test/TableGen/LoLoL.td | 1 + llvm/test/TableGen/MultiClass.td | 1 + llvm/test/TableGen/MultiClassDefName.td | 1 + llvm/test/TableGen/MultiClassInherit.td | 1 + llvm/test/TableGen/MultiPat.td | 1 + llvm/test/TableGen/NestedForeach.td | 1 + llvm/test/TableGen/Paste.td | 1 + llvm/test/TableGen/SetTheory.td | 1 + llvm/test/TableGen/SiblingForeach.td | 1 + llvm/test/TableGen/Slice.td | 1 + llvm/test/TableGen/TargetInstrSpec.td | 1 + llvm/test/TableGen/TwoLevelName.td | 1 + llvm/test/TableGen/cast.td | 1 + llvm/test/TableGen/defmclass.td | 1 + llvm/test/TableGen/eq.td | 1 + llvm/test/TableGen/eqbit.td | 1 + llvm/test/TableGen/foreach.td | 1 + llvm/test/TableGen/if.td | 1 + llvm/test/TableGen/ifbit.td | 1 + llvm/test/TableGen/intrinsic-order.td | 1 + llvm/test/TableGen/intrinsic-varargs.td | 1 + llvm/test/TableGen/lisp.td | 1 + llvm/test/TableGen/list-element-bitref.td | 1 + llvm/test/TableGen/math.td | 1 + llvm/test/TableGen/pr8330.td | 1 + llvm/test/TableGen/subst.td | 1 + llvm/test/TableGen/subst2.td | 1 + llvm/test/TableGen/usevalname.td | 1 + 36 files changed, 36 insertions(+) diff --git a/llvm/test/TableGen/2010-03-24-PrematureDefaults.td b/llvm/test/TableGen/2010-03-24-PrematureDefaults.td index 716a1d59008c..24f6c93b3e17 100644 --- a/llvm/test/TableGen/2010-03-24-PrematureDefaults.td +++ b/llvm/test/TableGen/2010-03-24-PrematureDefaults.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class A x = 1> { int K = k; diff --git a/llvm/test/TableGen/Dag.td b/llvm/test/TableGen/Dag.td index 14d616b52173..fea3aeedde18 100644 --- a/llvm/test/TableGen/Dag.td +++ b/llvm/test/TableGen/Dag.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak //===----------------------------------------------------------------------===// // Substitution of an int. diff --git a/llvm/test/TableGen/DefmInherit.td b/llvm/test/TableGen/DefmInherit.td index ee86e9bd7097..bfbb43568b43 100644 --- a/llvm/test/TableGen/DefmInherit.td +++ b/llvm/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/llvm/test/TableGen/DefmInsideMultiClass.td b/llvm/test/TableGen/DefmInsideMultiClass.td index 7353d3630b4d..d34974de0295 100644 --- a/llvm/test/TableGen/DefmInsideMultiClass.td +++ b/llvm/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/llvm/test/TableGen/ForeachList.td b/llvm/test/TableGen/ForeachList.td index 9bc76e0f0cf8..99b7e14c2d5f 100644 --- a/llvm/test/TableGen/ForeachList.td +++ b/llvm/test/TableGen/ForeachList.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Register { string Name = name; diff --git a/llvm/test/TableGen/ForeachLoop.td b/llvm/test/TableGen/ForeachLoop.td index a49a60bf2692..4aacc74d8aa2 100644 --- a/llvm/test/TableGen/ForeachLoop.td +++ b/llvm/test/TableGen/ForeachLoop.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Register { string Name = name; diff --git a/llvm/test/TableGen/LetInsideMultiClasses.td b/llvm/test/TableGen/LetInsideMultiClasses.td index cfa756df2067..095f37bfb92f 100644 --- a/llvm/test/TableGen/LetInsideMultiClasses.td +++ b/llvm/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/llvm/test/TableGen/ListOfList.td b/llvm/test/TableGen/ListOfList.td index c646e3b4802f..56f964e8685c 100644 --- a/llvm/test/TableGen/ListOfList.td +++ b/llvm/test/TableGen/ListOfList.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Base { string text = t; diff --git a/llvm/test/TableGen/LoLoL.td b/llvm/test/TableGen/LoLoL.td index f758e1b60476..778c9609d1a2 100644 --- a/llvm/test/TableGen/LoLoL.td +++ b/llvm/test/TableGen/LoLoL.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Base v> { list values = v; diff --git a/llvm/test/TableGen/MultiClass.td b/llvm/test/TableGen/MultiClass.td index 6b6cab11cb72..9c3996345813 100644 --- a/llvm/test/TableGen/MultiClass.td +++ b/llvm/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/llvm/test/TableGen/MultiClassDefName.td b/llvm/test/TableGen/MultiClassDefName.td index 3ee5c10de4bc..d3c6de7e8421 100644 --- a/llvm/test/TableGen/MultiClassDefName.td +++ b/llvm/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/llvm/test/TableGen/MultiClassInherit.td b/llvm/test/TableGen/MultiClassInherit.td index 7a9be3d7e818..04fef2c84995 100644 --- a/llvm/test/TableGen/MultiClassInherit.td +++ b/llvm/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/llvm/test/TableGen/MultiPat.td b/llvm/test/TableGen/MultiPat.td index b49b06c24caf..b3792777b6b5 100644 --- a/llvm/test/TableGen/MultiPat.td +++ b/llvm/test/TableGen/MultiPat.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class ValueType { int Size = size; diff --git a/llvm/test/TableGen/NestedForeach.td b/llvm/test/TableGen/NestedForeach.td index 5b63175b192a..e8c16f720d0e 100644 --- a/llvm/test/TableGen/NestedForeach.td +++ b/llvm/test/TableGen/NestedForeach.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Droid { string Series = series; diff --git a/llvm/test/TableGen/Paste.td b/llvm/test/TableGen/Paste.td index 33d61ccde128..a7e2a5b318ba 100644 --- a/llvm/test/TableGen/Paste.td +++ b/llvm/test/TableGen/Paste.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Instr { int index = i; diff --git a/llvm/test/TableGen/SetTheory.td b/llvm/test/TableGen/SetTheory.td index f26b9e65ac0d..761332312b0f 100644 --- a/llvm/test/TableGen/SetTheory.td +++ b/llvm/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/llvm/test/TableGen/SiblingForeach.td b/llvm/test/TableGen/SiblingForeach.td index e4c4704a5e39..a11f6f87b427 100644 --- a/llvm/test/TableGen/SiblingForeach.td +++ b/llvm/test/TableGen/SiblingForeach.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Set { int I = i; diff --git a/llvm/test/TableGen/Slice.td b/llvm/test/TableGen/Slice.td index 7a35d315c5d8..89deaefc9abe 100644 --- a/llvm/test/TableGen/Slice.td +++ b/llvm/test/TableGen/Slice.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class ValueType { int Size = size; diff --git a/llvm/test/TableGen/TargetInstrSpec.td b/llvm/test/TableGen/TargetInstrSpec.td index f23bec77d4d1..32253a3a215c 100644 --- a/llvm/test/TableGen/TargetInstrSpec.td +++ b/llvm/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/llvm/test/TableGen/TwoLevelName.td b/llvm/test/TableGen/TwoLevelName.td index e88696217f70..9c502f475507 100644 --- a/llvm/test/TableGen/TwoLevelName.td +++ b/llvm/test/TableGen/TwoLevelName.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Type { string Name = name; diff --git a/llvm/test/TableGen/cast.td b/llvm/test/TableGen/cast.td index 7ca72394b6ab..a8bd207a85a2 100644 --- a/llvm/test/TableGen/cast.td +++ b/llvm/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/llvm/test/TableGen/defmclass.td b/llvm/test/TableGen/defmclass.td index 6198c000fddc..80f03b319426 100644 --- a/llvm/test/TableGen/defmclass.td +++ b/llvm/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/llvm/test/TableGen/eq.td b/llvm/test/TableGen/eq.td index fc3ad424e2f7..f8daf880b9ed 100644 --- a/llvm/test/TableGen/eq.td +++ b/llvm/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/llvm/test/TableGen/eqbit.td b/llvm/test/TableGen/eqbit.td index b77b1a26dfe1..1d58fa0c1916 100644 --- a/llvm/test/TableGen/eqbit.td +++ b/llvm/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/llvm/test/TableGen/foreach.td b/llvm/test/TableGen/foreach.td index fea8678c0adb..541da49ccde3 100644 --- a/llvm/test/TableGen/foreach.td +++ b/llvm/test/TableGen/foreach.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak // CHECK: Classes // CHECK: Sr diff --git a/llvm/test/TableGen/if.td b/llvm/test/TableGen/if.td index e4df74f36860..1d8d62329ae3 100644 --- a/llvm/test/TableGen/if.td +++ b/llvm/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/llvm/test/TableGen/ifbit.td b/llvm/test/TableGen/ifbit.td index e3341219ffe8..88f575e9acfc 100644 --- a/llvm/test/TableGen/ifbit.td +++ b/llvm/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/llvm/test/TableGen/intrinsic-order.td b/llvm/test/TableGen/intrinsic-order.td index 5eadf60a6efc..13c2db27e16a 100644 --- a/llvm/test/TableGen/intrinsic-order.td +++ b/llvm/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/llvm/test/TableGen/intrinsic-varargs.td b/llvm/test/TableGen/intrinsic-varargs.td index ec1fd3582933..3e48f8da33bf 100644 --- a/llvm/test/TableGen/intrinsic-varargs.td +++ b/llvm/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/llvm/test/TableGen/lisp.td b/llvm/test/TableGen/lisp.td index d753fbd299ce..9e586055ff9d 100644 --- a/llvm/test/TableGen/lisp.td +++ b/llvm/test/TableGen/lisp.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s +// XFAIL: vg_leak // CHECK: def One { // CHECK-NEXT: list names = ["Jeffrey Sinclair"]; diff --git a/llvm/test/TableGen/list-element-bitref.td b/llvm/test/TableGen/list-element-bitref.td index 7db3d31167fd..4622f28526eb 100644 --- a/llvm/test/TableGen/list-element-bitref.td +++ b/llvm/test/TableGen/list-element-bitref.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class C> L> { bits<2> V0 = L[0]{1-0}; diff --git a/llvm/test/TableGen/math.td b/llvm/test/TableGen/math.td index bde267a652dc..59d16ae908e2 100644 --- a/llvm/test/TableGen/math.td +++ b/llvm/test/TableGen/math.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Int { int Value = value; diff --git a/llvm/test/TableGen/pr8330.td b/llvm/test/TableGen/pr8330.td index e6720147890b..7779b635e33c 100644 --- a/llvm/test/TableGen/pr8330.td +++ b/llvm/test/TableGen/pr8330.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Or4 Val> { bits<8> V = {Val{7}, Val{6}, Val{5}, Val{4}, Val{3}, 1, Val{1}, Val{0} }; diff --git a/llvm/test/TableGen/subst.td b/llvm/test/TableGen/subst.td index b65c92893006..34818afaa736 100644 --- a/llvm/test/TableGen/subst.td +++ b/llvm/test/TableGen/subst.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Honorific { string honorific = t; diff --git a/llvm/test/TableGen/subst2.td b/llvm/test/TableGen/subst2.td index ce7307703dcc..7c007f7db12e 100644 --- a/llvm/test/TableGen/subst2.td +++ b/llvm/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/llvm/test/TableGen/usevalname.td b/llvm/test/TableGen/usevalname.td index a80ba12869e0..d85b98ac33e6 100644 --- a/llvm/test/TableGen/usevalname.td +++ b/llvm/test/TableGen/usevalname.td @@ -1,4 +1,5 @@ // RUN: llvm-tblgen %s | FileCheck %s +// XFAIL: vg_leak class Instr pat> { list Pattern = pat;