File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -11121,22 +11121,14 @@ bool Lowering::TryLowerAndOrToCCMP(GenTreeOp* tree, GenTree** next)
11121
11121
// For the other operand we can allow more arbitrary operations that set
11122
11122
// the condition flags; the final transformation into the flags def is done
11123
11123
// by TryLowerConditionToFlagsNode.
11124
- #if defined(TARGET_AMD64)
11125
- const bool allowMultipleFlagChecks = false ;
11126
- #elif defined(TARGET_ARM64)
11127
- const bool allowMultipleFlagChecks = true ;
11128
- #else
11129
- #error Unsupported target
11130
- #endif
11131
-
11132
11124
GenCondition cond1;
11133
11125
if (op2->OperIsCmpCompare () && varTypeIsIntegralOrI (op2->gtGetOp1 ()) && IsInvariantInRange (op2, tree) &&
11134
- TryLowerConditionToFlagsNode (tree, op1, &cond1, allowMultipleFlagChecks ))
11126
+ TryLowerConditionToFlagsNode (tree, op1, &cond1, false ))
11135
11127
{
11136
11128
// Fall through, converting op2 to the CCMP
11137
11129
}
11138
11130
else if (op1->OperIsCmpCompare () && varTypeIsIntegralOrI (op1->gtGetOp1 ()) && IsInvariantInRange (op1, tree) &&
11139
- TryLowerConditionToFlagsNode (tree, op2, &cond1, allowMultipleFlagChecks ))
11131
+ TryLowerConditionToFlagsNode (tree, op2, &cond1, false ))
11140
11132
{
11141
11133
std::swap (op1, op2);
11142
11134
}
You can’t perform that action at this time.
0 commit comments