Yitzhak Mandelbaum
Yitzhak Mandelbaum
> May it be the msvc-STL implementation of assert? Good point! We rely on the implementation of `assert` for this to work correctly. In fact, we don't even handle this...
I'm not familiar with microsoft idioms. Could the CFG be pathed to understand `_ACRTIMP` or are you saying that this construct is not as informative as _noreturn and so couldn't...
This issue has been fixed with extensive changes to value modeling in the framework.
Thanks for catching this. I'll send a patch shortly.
Thanks! Yes, I very much remember that discussion, but it didn't occur to me as the cause. Good catch! The patch would be very much appreciated.
Nice diagnosis! I think we can widen based on an incoming back edge. In this case, that would mean in B5 we see an incoming edge from B2, and always...
Do either of you have a repro or a stack trace from a non-opt build? We just recently fixed a crash which might be the same as this one: https://github.com/llvm/llvm-project/pull/84138...
Agreed on both points -- we should document this issue as the first step, since (as you point out) it's going to matter even if we improve the API.
I believe this has been fixed as well. See, for exapmle, https://godbolt.org/z/q6Pcaovrr. Can you check on the latest release (or head)?
We can take a look. But, the complication is that dataflow doesn't understand noreturn directly -- it relies on the CFG for understanding it. So, you'd need to modify the...