Skip to content

Commit

Permalink
Fix issues found during the recent downstream integrate (#1839)
Browse files Browse the repository at this point in the history
* Add a comment next to #endif in Base.h.
  * Sort dependencies alphabetically in BUILD.bazel.
  • Loading branch information
Eugene Burmako authored Nov 10, 2023
1 parent c3e1ab5 commit cc0adef
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,10 @@ cc_library(
strip_include_prefix = ".",
deps = [
":interpreter_ops_inc_gen",
":reference_value",
":reference_numpy",
":reference_ops",
":reference_process_grid",
":reference_value",
"@llvm-project//llvm:Support",
"@llvm-project//mlir:FuncDialect",
"@llvm-project//mlir:IR",
Expand Down Expand Up @@ -465,10 +465,10 @@ cc_library(
strip_include_prefix = ".",
deps = [
":reference_axes",
":reference_configuration",
":reference_element",
":reference_errors",
":reference_index",
":reference_configuration",
":reference_process",
":reference_process_grid",
":reference_scope",
Expand Down Expand Up @@ -965,8 +965,8 @@ cc_binary(
],
deps = [
":interpreter_ops",
":reference_errors",
":reference_api",
":reference_errors",
":reference_ops",
":reference_process_grid",
":reference_scope",
Expand Down
2 changes: 1 addition & 1 deletion stablehlo/dialect/Base.h
Original file line number Diff line number Diff line change
Expand Up @@ -371,4 +371,4 @@ class CompatibleOperandsAndResultType
} // namespace hlo
} // namespace mlir

#endif
#endif // STABLEHLO_DIALECT_BASE_H
4 changes: 2 additions & 2 deletions stablehlo/tests/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ cc_library(

gentbl_cc_library(
name = "check_ops_inc_gen",
strip_include_prefix = ".",
tbl_outs = [
(
["-gen-op-decls"],
Expand All @@ -52,7 +53,6 @@ gentbl_cc_library(
],
tblgen = "@llvm-project//mlir:mlir-tblgen",
td_file = "CheckOps.td",
strip_include_prefix = ".",
deps = [
":check_ops_td_files",
],
Expand Down Expand Up @@ -140,6 +140,7 @@ expand_template(
[
lit_test(
name = "%s.test" % src,
size = "small",
srcs = [src],
data = [
"lit.cfg.py",
Expand All @@ -149,7 +150,6 @@ expand_template(
"@llvm-project//llvm:FileCheck",
"@llvm-project//llvm:not",
] + glob(["%s.bc" % src]),
size = "small",
tags = ["stablehlo_tests"],
)
for src in glob(["**/*.mlir"])
Expand Down

0 comments on commit cc0adef

Please sign in to comment.