Skip to content

Commit bbda7b2

Browse files
manbeariantungld
andauthored
allow invocation of binaries without .exe extension on Windows (llvm#1266)
Signed-off-by: Ian Bearman <[email protected]> Co-authored-by: Tung D. Le <[email protected]>
1 parent c8538c1 commit bbda7b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/mlir/driver/windows/check_verbosity.mlir

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// RUN: onnx-mlir -v %s 2>&1 | FileCheck %s
22

33
// REQUIRES: system-windows
4-
// CHECK: opt.exe {{.*}} -o {{.*}}check_verbosity.bc
5-
// CHECK-NEXT: llc.exe {{.*}} -filetype=obj {{.*}} -o {{.*}}check_verbosity.obj {{.*}}check_verbosity.bc
6-
// CHECK-NEXT: cl.exe {{.*}}check_verbosity.obj /Fe:{{.*}}check_verbosity.dll {{.*}}
4+
// CHECK: opt{{(\.exe)?}} {{.*}} -o {{.*}}check_verbosity.bc
5+
// CHECK-NEXT: llc{{(\.exe)?}} {{.*}} -filetype=obj {{.*}} -o {{.*}}check_verbosity.obj {{.*}}check_verbosity.bc
6+
// CHECK-NEXT: cl{{(\.exe)?}} {{.*}}check_verbosity.obj /Fe:{{.*}}check_verbosity.dll {{.*}}
77
module {
88
func @main_graph(%arg0: tensor<1x1xf32>, %arg1: tensor<1x1xf32>) -> tensor<1x1xf32> {
99
%0 = "onnx.MatMul"(%arg0, %arg1) : (tensor<1x1xf32>, tensor<1x1xf32>) -> tensor<1x1xf32>

0 commit comments

Comments
 (0)