We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc0089e commit 8587628Copy full SHA for 8587628
llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
@@ -665,6 +665,8 @@ void SIPreEmitPeephole::performF32Unpacking(MachineInstr &I) {
665
MachineOperand DstOp = I.getOperand(0);
666
667
uint16_t UnpackedOpcode = mapToUnpackedOpcode(I);
668
+ assert(UnpackedOpcode != std::numeric_limits<uint16_t>::max() &&
669
+ "Unsupported Opcode");
670
// V_MOV_B32 does not support source modifiers. Without source modifiers, we
671
// cannot be faithful to the packed instruction semantics in few cases. This
672
// is true when the packed instruction has NEG and NEG_HI modifiers. We should
0 commit comments