mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-28 20:41:07 +00:00
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
This commit is contained in:
parent
cae86ce38b
commit
5c0be2f67a
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class A<int k, bits<2> x = 1> {
|
||||
int K = k;
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Substitution of an int.
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
// CHECK: zing = 4
|
||||
// CHECK: zing = 4
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
// CHECK: ADDPSrr
|
||||
// CHECK-NOT: ADDPSrr
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class Register<string name, int idx> {
|
||||
string Name = name;
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class Register<string name, int idx> {
|
||||
string Name = name;
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
// CHECK: bit IsDouble = 1;
|
||||
// CHECK: bit IsDouble = 1;
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class Base<string t> {
|
||||
string text = t;
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class Base<list<int> v> {
|
||||
list<int> values = v;
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
// CHECK: zing = 4
|
||||
// CHECK: zing = 4
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
// CHECK: WorldHelloCC
|
||||
// CHECK-NOT: WorldHelloCC
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
// "zing = 4" x 28
|
||||
// CHECK: zing = 4
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class ValueType<int size, int value> {
|
||||
int Size = size;
|
||||
|
@ -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;
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class Instr<int i> {
|
||||
int index = i;
|
||||
|
@ -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:
|
||||
|
@ -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;
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class ValueType<int size, int value> {
|
||||
int Size = size;
|
||||
|
@ -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))]
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class Type<string name, int length, int width> {
|
||||
string Name = name;
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
// CHECK: add_ps
|
||||
// CHECK: add_ps
|
||||
|
@ -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 };
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
// CHECK: Value = 0
|
||||
// CHECK: Value = 1
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
// CHECK: a = 6
|
||||
// CHECK: a = 5
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
// CHECK: Classes
|
||||
// CHECK: Sr
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
// CHECK: a = 6
|
||||
// CHECK: a = 5
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen -gen-intrinsic %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class IntrinsicProperty;
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen -gen-intrinsic %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class IntrinsicProperty;
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
// CHECK: def One {
|
||||
// CHECK-NEXT: list<string> names = ["Jeffrey Sinclair"];
|
||||
|
@ -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};
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class Int<int value> {
|
||||
int Value = value;
|
||||
|
@ -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} };
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class Honorific<string t> {
|
||||
string honorific = t;
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
// CHECK: No subst
|
||||
// CHECK: No foo
|
||||
// CHECK: RECURSE foo
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-tblgen %s | FileCheck %s
|
||||
// XFAIL: vg_leak
|
||||
|
||||
class Instr<list<dag> pat> {
|
||||
list<dag> Pattern = pat;
|
||||
|
Loading…
x
Reference in New Issue
Block a user