Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JIT: Fix BBJ_COND-related assert in OptIfConversionDsc::IfConvertDump (…
…#95934) In #95773, I incorrectly assumed m_startBlock would always be a BBJ_COND in OptIfConversionDsc::IfConvertDump, but it can be converted to a BBJ_ALWAYS before being dumped, thus hitting an assert when m_startBlock->GetTrueTarget() is called. This is fixed by calling the correct target accessor method depending on the type of m_startBlock. (Note that IfConvertDump is only called if dumps are enabled, hence why this assert wasn't initially hit in CI.)
- Loading branch information