Skip to content

Commit

Permalink
allow invocation of binaries without .exe extension on Windows (llv…
Browse files Browse the repository at this point in the history
…m#1266)

Signed-off-by: Ian Bearman <ianb@microsoft.com>

Co-authored-by: Tung D. Le <tung@jp.ibm.com>
  • Loading branch information
manbearian and tungld authored Mar 25, 2022
1 parent c8538c1 commit bbda7b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/mlir/driver/windows/check_verbosity.mlir
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// RUN: onnx-mlir -v %s 2>&1 | FileCheck %s

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

0 comments on commit bbda7b2

Please sign in to comment.