[LLVMdev] Incredible effects of extending AtomicSDNode::Ops

Tim Northover t.p.northover at gmail.com
Fri Aug 23 06:32:24 PDT 2013


Hi Artyom,

> We've just depleted our imagination on how this can at all be
> possible, so we welcome your advice.

I suspect it's that SDNodes are allocated using a BumpPtrAllocator
(sort of) with a maximum size of sizeof(LargestSDNode). Changing that
typedef to AtomicSDNode with your additions makes all the tests pass
again for me.

Cheers.

Tim.



More information about the llvm-dev mailing list