Closed a11ce closed 1 year ago
firstAccumI
is null here. Looking at AccumulatorOpInfo.cpp, xor isn't supported. I can add this, but if there are other operations that could be misclassified as BinaryReduction then SCCDAGAttrs.cpp should be made aware of the supported ops.
The following test causes a segfault in the inliner:
Adding instead of xoring works fine. Xoring elements of an array is also fine.
To replicate, create a new regression test with the above
test.c
and runmake
. This will run: