Skip to content

Commit 1677f7f

Browse files
author
mlevesquedion
authored
Ensure emitting bytecode does not yield warnings (#2080)
This mirrors the checks we have for VHLO in `stablehlo_legalize_to_vhlo.mlir`. Emitting StableHLO bytecode should not emit such warnings either.
1 parent d8e78cc commit 1677f7f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stablehlo/tests/ops_stablehlo.mlir

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
// RUN: stablehlo-opt %s -verify-diagnostics -split-input-file -allow-unregistered-dialect | FileCheck %s
2+
// RUN: stablehlo-opt %s -verify-diagnostics -split-input-file -allow-unregistered-dialect -emit-bytecode -debug-only=stablehlo-bytecode 2>&1 | FileCheck --check-prefix=CHECK-WARN %s
3+
4+
// CHECK-WARN-NOT: Not Implemented
25

36
// Tests for types, ops with custom constraints, verifiers, printer or parser
47
// methods.

0 commit comments

Comments
 (0)