Skip to content

Commit fb199c8

Browse files
committed
Enable commented out tests
1 parent 13b0908 commit fb199c8

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

test/runtests.jl

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -255,22 +255,19 @@ sqrtsumsq2(x) = (sum(abs2, x)*sum(abs2,x))
255255
Enzyme.Compiler.enzyme_code_llvm(io, sum, Active, Tuple{Duplicated{Vector{Float64}}}; dump_module=true)
256256
end
257257
@test occursin("diffe",fn)
258-
# TODO we need to fix julia to remove unused bounds checks
259-
# @test !occursin("aug",fn)
258+
@test !occursin("aug",fn)
260259

261260
fn = sprint() do io
262261
Enzyme.Compiler.enzyme_code_llvm(io, sumsq2, Active, Tuple{Duplicated{Vector{Float64}}}; dump_module=true)
263262
end
264263
@test occursin("diffe",fn)
265-
# TODO we need to fix julia to remove unused bounds checks
266-
# @test !occursin("aug",fn)
264+
@test !occursin("aug",fn)
267265

268266
fn = sprint() do io
269267
Enzyme.Compiler.enzyme_code_llvm(io, sumsin, Active, Tuple{Duplicated{Vector{Float64}}}; dump_module=true)
270268
end
271269
@test occursin("diffe",fn)
272-
# TODO we need to fix julia to remove unused bounds checks
273-
# @test !occursin("aug",fn)
270+
@test !occursin("aug",fn)
274271

275272
fn = sprint() do io
276273
Enzyme.Compiler.enzyme_code_llvm(io, sqrtsumsq2, Active, Tuple{Duplicated{Vector{Float64}}}; dump_module=true)

0 commit comments

Comments
 (0)