samparker added a comment. Yeah, that sounds better, I'll put together a separate patch. Are you happy with the operand index clamping though? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D76434/new/ https://reviews.llvm.org/D76434