I forgot to account for the possibility that some elements of the list being interleaved might not be resolved and so final evaluation has to be delayed. Each element must be checked to see if it can be dyn_cast to a StringInit or IntInit.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/lib/TableGen/Record.cpp | ||
---|---|---|
899 | I will remove these obsolete lines of code. |
Comment Actions
interleaveIntList() needs to use convertInitializerTo(), not getCastTo. Both can fail, so dyn_cast_or_null is required.
I will remove these obsolete lines of code.