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
1290 diff lines are omitted. See full diff.