Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/coreclr/jit/lower.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3384,7 +3384,7 @@ GenTree* Lowering::LowerJTrue(GenTreeOp* jtrue)
// Codegen will use tbnz or tbz in codegen which do not affect the flag register
flags = GTF_JCMP_TST | (cond->OperIs(GT_LT) ? GTF_EMPTY : GTF_JCMP_EQ);
useJCMP = true;
relopOp2->AsIntConCommon()->SetIntegralValue((1 << (8 * genTypeSize(genActualType(relopOp1)) - 1)));
relopOp2->AsIntConCommon()->SetIntegralValue((1L << (8 * genTypeSize(genActualType(relopOp1)) - 1)));
}
else if (cond->OperIs(GT_TEST_EQ, GT_TEST_NE) && isPow2(relopOp2->AsIntCon()->IconValue()))
{
Expand Down