-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LLVM assertion failure caused by exct modeling #52808
Comments
I can't reproduce this on 5 day old master. Is it possibly already fixed? |
Are you using an assertions build? |
that would be the reason. |
So weirdly, if I do a debug
With Edge 1 of φ node 6 not in predecessor list
2 1 ─ %1 = Base.getfield(_3, :hi)::Int64 │╻ getproperty
4 └── (%1 <: Main.Float64)::Core.Const(true) │
5 2 ─ %3 = Base.slt_int(%1, 0)::Bool │╻ <
│ %4 = Core.ifelse(%3, %1, _3)::Union{Int64, Double{Int64}} │╻ ifelse
└── %5 = Core.ifelse(%3, true, false)::Bool ││
7 3 ─ %6 = φ (#2 => %5, #1 => false)::Bool │
│ %7 = φ (#2 => %4, #1 => _3)::Union{Int64, Double{Int64}} │
└── goto #5 if not %6 │
4 ─ %9 = π (%7, Int64) │
│ %10 = Base.mul_int(0, %9)::Int64 │╻ *
└── goto #6 │
5 ─ %12 = (0 * %7)::Int64 │
└── goto #6 │
6 ┄ %14 = φ (#4 => %10, #5 => %12)::Int64 │
└── return %14 |
That's not weird; IR verification is only enabled on a debug build (which defaults to julia/base/compiler/optimize.jl Lines 937 to 939 in 4b64203
|
Hmm, that seems like a weird thing to switch on. Maybe we should check if |
Fixed on master; probably by #52853 |
As seen on PkgEval during testing of SLEEFPirates.jl: https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_date/2024-01/07/SLEEFPirates.primary.log
MWE:
Bisected to #51754; cc @Keno.
The text was updated successfully, but these errors were encountered: