forked from OSchip/llvm-project
Add custom lilith script.
Add custom lilith script with paths set to MLIR tools directories to simplify lit test. PiperOrigin-RevId: 209486232
This commit is contained in:
parent
9265197c4e
commit
ff6daf98fe
|
@ -1,4 +1,4 @@
|
|||
// RUN: %S/../../mlir-opt %s -o - | FileCheck %s
|
||||
// RUN: mlir-opt %s -o - | FileCheck %s
|
||||
|
||||
// CHECK: #map{{[0-9]+}} = (d0, d1) -> (d0, d1)
|
||||
#map0 = (i, j) -> (i, j)
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
// TODO(andydavis) Resolve relative path issue w.r.t invoking mlir-opt in RUN
|
||||
// statements (perhaps through using lit config substitutions).
|
||||
//
|
||||
// RUN: %S/../../mlir-opt --help | FileCheck %s
|
||||
// RUN: mlir-opt --help | FileCheck %s
|
||||
//
|
||||
// CHECK: OVERVIEW: MLIR modular optimizer driver
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: %S/../../mlir-opt %s -o - | FileCheck %s
|
||||
// RUN: mlir-opt %s -o - | FileCheck %s
|
||||
|
||||
// CHECK: #map0 = (d0) -> (d0 + 1)
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
//
|
||||
// RUN: %S/../../mlir-opt %s -o - -check-parser-errors
|
||||
// RUN: mlir-opt %s -o - -check-parser-errors
|
||||
|
||||
// Check different error cases.
|
||||
// -----
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
// TODO(andydavis) Resolve relative path issue w.r.t invoking mlir-opt in RUN
|
||||
// statements (perhaps through using lit config substitutions).
|
||||
//
|
||||
// RUN: %S/../../mlir-opt %s -o - -check-parser-errors
|
||||
// RUN: mlir-opt %s -o - -check-parser-errors
|
||||
|
||||
cfgfunc @dim(tensor<1xf32>) {
|
||||
bb(%0: tensor<1xf32>):
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
// TODO(andydavis) Resolve relative path issue w.r.t invoking mlir-opt in RUN
|
||||
// statements (perhaps through using lit config substitutions).
|
||||
//
|
||||
// RUN: %S/../../mlir-opt %s -o - -check-parser-errors
|
||||
// RUN: mlir-opt %s -o - -check-parser-errors
|
||||
|
||||
// Check different error cases.
|
||||
// -----
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: %S/../../mlir-opt %s -o - | FileCheck %s
|
||||
// RUN: mlir-opt %s -o - | FileCheck %s
|
||||
|
||||
// CHECK: #map0 = (d0, d1) -> (d0, d1)
|
||||
// CHECK: #map1 = (d0, d1)[s0] -> (d0 + s0, d1)
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
// TODO(andydavis) Resolve relative path issue w.r.t invoking mlir-opt in RUN
|
||||
// statements (perhaps through using lit config substitutions).
|
||||
//
|
||||
// RUN: %S/../../mlir-opt %s -o - | FileCheck %s
|
||||
// RUN: mlir-opt %s -o - | FileCheck %s
|
||||
|
||||
// CHECK-DAG: #map{{[0-9]+}} = (d0, d1, d2, d3, d4)[s0] -> (d0, d1, d2, d3, d4)
|
||||
#map0 = (d0, d1, d2, d3, d4)[s0] -> (d0, d1, d2, d3, d4)
|
||||
|
@ -334,4 +331,4 @@ bb0:
|
|||
// CHECK: "foo"() {a: 4.000000e+00, b: 2.000000e+00, c: 7.100000e+00, d: -0.000000e+00} : () -> ()
|
||||
"foo"(){a: 4.0, b: 2.0, c: 7.1, d: -0.0} : () -> ()
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue