mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-11 02:13:38 +09:00
JIT: Track sideness of arrOp in GetCheckedBoundArithInfo (#100848)
This commit is contained in:
parent
b8803cb279
commit
674ba3fade
5 changed files with 44 additions and 8 deletions
|
@ -6669,15 +6669,17 @@ void ValueNumStore::GetCheckedBoundArithInfo(ValueNum vn, CompareCheckedBoundAri
|
|||
bool isOp1CheckedBound = IsVNCheckedBound(funcArith.m_args[1]);
|
||||
if (isOp1CheckedBound)
|
||||
{
|
||||
info->arrOper = funcArith.m_func;
|
||||
info->arrOp = funcArith.m_args[0];
|
||||
info->vnBound = funcArith.m_args[1];
|
||||
info->arrOper = funcArith.m_func;
|
||||
info->arrOp = funcArith.m_args[0];
|
||||
info->vnBound = funcArith.m_args[1];
|
||||
info->arrOpLHS = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
info->arrOper = funcArith.m_func;
|
||||
info->arrOp = funcArith.m_args[1];
|
||||
info->vnBound = funcArith.m_args[0];
|
||||
info->arrOper = funcArith.m_func;
|
||||
info->arrOp = funcArith.m_args[1];
|
||||
info->vnBound = funcArith.m_args[0];
|
||||
info->arrOpLHS = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue