D72467 updated the shufflevector instruction to include a constant mask rather than a mask operand. The LangRef text was vague enough to still make sense, but it would be better to update here too, so there's no confusion about valid mask values. The text here is mostly copied from the documentation code comments for "class ShuffleVectorInst".
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Patch updated:
Rearranged text a bit more and removed reference to the 'UndefMaskElem' code constant.
Comment Actions
Patch updated:
Restore description of constant mask elements as integer or undef. That seemed redundant to me before, but it's better to state that explicitly, so we don't let weird stuff like constant expressions into the picture.