From a11417127785e86da7d7d500f465e9713db2177a Mon Sep 17 00:00:00 2001 From: gbaraldi Date: Thu, 6 Feb 2025 18:22:13 -0300 Subject: [PATCH] Fix tests --- test/boundscheck_exec.jl | 2 +- test/llvmpasses/lower-handlers.ll | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/boundscheck_exec.jl b/test/boundscheck_exec.jl index 3b2f853999229..ba58233a0cd57 100644 --- a/test/boundscheck_exec.jl +++ b/test/boundscheck_exec.jl @@ -312,7 +312,7 @@ if bc_opt == bc_default for ET in [Int, Float32, Union{Int, Float64}] no_allocate(T{ET}) #compile # allocations aren't removed for Union eltypes which they theoretically could be eventually - test_alloc(T{ET}, broken=(ET==Union{Int, Float64})) + test_alloc(T{ET}, broken=(ET==Union{Int, Float64} && T == Memory)) end end function f() # this was causing a bug on an in progress version of #55913. diff --git a/test/llvmpasses/lower-handlers.ll b/test/llvmpasses/lower-handlers.ll index 172c9820cba02..b640684798ef7 100644 --- a/test/llvmpasses/lower-handlers.ll +++ b/test/llvmpasses/lower-handlers.ll @@ -46,8 +46,8 @@ after: ; preds = %catch, %try define ptr addrspace(10) @julia_poll_fd2_1135(){ top: -; CHECK: %depth0 = alloca i8, i32 256, align 16 -; CHECK: %depth1 = alloca i8, i32 256, align 16 +; CHECK: %depth0 = alloca i8 +; CHECK: %depth1 = alloca i8 %pgcstack = call ptr @julia.get_pgcstack() %current_task7 = getelementptr inbounds i8, ptr %pgcstack, i64 -112 %0 = call i64 @ijl_excstack_state(ptr nonnull %current_task7)