The use iterator, used within findMaskOperands(), can return anything which is not a def. isUse() requires a register, so check isReg() before calling isUse().
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Differential D48047
[AMDGPU] findMaskOperands() - prevent hitting Assertion `isReg() && "Wrong MachineOperand accessor"' msearles on Jun 11 2018, 1:11 PM. Authored by
Details The use iterator, used within findMaskOperands(), can return anything which is not a def. isUse() requires a register, so check isReg() before calling isUse().
Diff Detail
|