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 f17d0a8 commit ead3cadCopy full SHA for ead3cad
lib/Backend/BackwardPass.cpp
@@ -3244,7 +3244,7 @@ BackwardPass::ProcessBlock(BasicBlock * block)
3244
FOREACH_SLIST_ENTRY(IR::ByteCodeUsesInstr*, bcuInstr, loop->outwardSpeculationMaskInstrs)
3245
{
3246
// Get the upwardExposed information for the previous block
3247
- IR::LabelInstr *blockLabel = bcuInstr->m_prev->AsLabelInstr();
+ IR::LabelInstr *blockLabel = bcuInstr->GetBlockStartInstr()->AsLabelInstr();
3248
BasicBlock* maskingBlock = blockLabel->GetBasicBlock();
3249
// Since it's possible we have a multi-level loop structure (each with its own mask
3250
// instructions and dereferenced symbol list), we may be able to avoid masking some
0 commit comments