A variable index sounds like an interesting idea in theory, but nothing is actually taking advantage of it, and specifying/implementing the edge cases is painful. So just forbid it.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Thank you - I'd love to see this - it'll allow me to strip a load of untested code paths in ComputeNumBits/SimplifyDemanded etc..
clang-format: please reformat the code
- enum NodeType { - /// DELETED_NODE - This is an illegal value that is used to catch - /// errors. This opcode is not a legal opcode for any node. - DELETED_NODE, - - /// EntryToken - This is the marker used to indicate the start of a region. - EntryToken, - - /// TokenFactor - This node takes multiple tokens as input and produces a - /// single token result. This is used to represent the fact that the operand1290 diff lines are omitted. See full diff.