Skip to content

Commit 00070be

Browse files
authored
Update src/Compiler.jl
1 parent 955520c commit 00070be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Compiler.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -903,9 +903,9 @@ function optimization_passes(
903903
# "compare_mul",
904904
"compare_convert",
905905
"add_selects",
906-
"self_subtract_to_convolution_like($(backend == "tpu"))",
907-
"self_add_to_convolution_like($(backend == "tpu"))",
908-
"self_mul_to_convolution_like($(backend == "tpu"))",
906+
"self_subtract_to_convolution_like($(Int(backend == "tpu")))",
907+
"self_add_to_convolution_like($(Int(backend == "tpu")))",
908+
"self_mul_to_convolution_like($(Int(backend == "tpu")))",
909909
"subtract_multiply_const_to_add_mul_const",
910910
]
911911

0 commit comments

Comments
 (0)