[llvm] [Support] Assert that DomTree nodes share parent (PR #101198)

Alexis Engelke via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 10 11:22:27 PDT 2024


aengelke wrote:

Now where the bot spam is over, I repeat my comment from above (I don't expect anyone to look for comments in a wave of error messages...)

> I think this is caused by unclean(ccache-ed?) builds. I was able to reproduce locally at first, but in a clean working dir (with clean ccache), it worked fine.
> 
> I think the "root cause" is #102180, where `std::conditional_t` is now used depending on `GraphHasNodeNumbers<NodeT *>`. With a non-clean recompile, this apparently evaluates to different values in different files, causing accesses to the same field (Parent, which is checked in the assertion) at different offsets.
> 
> Not sure how to fix the bots.

https://github.com/llvm/llvm-project/pull/101198


More information about the llvm-commits mailing list