Skip to content

Commit 5400b45

Browse files
committed
cleanup: fix formatting
1 parent 313c6d7 commit 5400b45

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

src/coreclr/jit/hwintrinsicarm64.cpp

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2727,35 +2727,35 @@ GenTree* Compiler::impSpecialIntrinsic(NamedIntrinsic intrinsic,
27272727
retNode->AsHWIntrinsic()->SetAuxiliaryJitType(op1BaseJitType);
27282728
break;
27292729
}
2730-
case NI_Sve_ConditionalExtractAfterLastActiveElementScalar:
2731-
case NI_Sve_ConditionalExtractLastActiveElementScalar:
2732-
{
2730+
case NI_Sve_ConditionalExtractAfterLastActiveElementScalar:
2731+
case NI_Sve_ConditionalExtractLastActiveElementScalar:
2732+
{
27332733
assert(sig->numArgs == 3);
27342734

27352735
#ifdef DEBUG
27362736
isValidScalarIntrinsic = true;
27372737
#endif
27382738

2739-
CORINFO_ARG_LIST_HANDLE arg1 = sig->args;
2740-
CORINFO_ARG_LIST_HANDLE arg2 = info.compCompHnd->getArgNext(arg1);
2741-
CORINFO_ARG_LIST_HANDLE arg3 = info.compCompHnd->getArgNext(arg2);
2742-
var_types argType = TYP_UNKNOWN;
2743-
CORINFO_CLASS_HANDLE argClass = NO_CLASS_HANDLE;
2739+
CORINFO_ARG_LIST_HANDLE arg1 = sig->args;
2740+
CORINFO_ARG_LIST_HANDLE arg2 = info.compCompHnd->getArgNext(arg1);
2741+
CORINFO_ARG_LIST_HANDLE arg3 = info.compCompHnd->getArgNext(arg2);
2742+
var_types argType = TYP_UNKNOWN;
2743+
CORINFO_CLASS_HANDLE argClass = NO_CLASS_HANDLE;
27442744

2745-
argType = JITtype2varType(strip(info.compCompHnd->getArgType(sig, arg3, &argClass)));
2746-
op3 = getArgForHWIntrinsic(argType, argClass);
2747-
argType = JITtype2varType(strip(info.compCompHnd->getArgType(sig, arg2, &argClass)));
2748-
op2 = getArgForHWIntrinsic(argType, argClass);
2745+
argType = JITtype2varType(strip(info.compCompHnd->getArgType(sig, arg3, &argClass)));
2746+
op3 = getArgForHWIntrinsic(argType, argClass);
2747+
argType = JITtype2varType(strip(info.compCompHnd->getArgType(sig, arg2, &argClass)));
2748+
op2 = getArgForHWIntrinsic(argType, argClass);
27492749
CorInfoType op2BaseJitType = getBaseJitTypeOfSIMDType(argClass);
2750-
argType = JITtype2varType(strip(info.compCompHnd->getArgType(sig, arg1, &argClass)));
2751-
op1 = getArgForHWIntrinsic(argType, argClass);
2750+
argType = JITtype2varType(strip(info.compCompHnd->getArgType(sig, arg1, &argClass)));
2751+
op1 = getArgForHWIntrinsic(argType, argClass);
27522752

27532753
retNode = gtNewScalarHWIntrinsicNode(retType, op1, op2, op3, intrinsic);
27542754

27552755
retNode->AsHWIntrinsic()->SetSimdBaseJitType(simdBaseJitType);
27562756
retNode->AsHWIntrinsic()->SetAuxiliaryJitType(op2BaseJitType);
27572757
break;
2758-
}
2758+
}
27592759

27602760
default:
27612761
{

src/coreclr/jit/hwintrinsiccodegenarm64.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2217,8 +2217,8 @@ void CodeGen::genHWIntrinsic(GenTreeHWIntrinsic* node)
22172217
case NI_Sve_ConditionalExtractAfterLastActiveElement:
22182218
case NI_Sve_ConditionalExtractLastActiveElement:
22192219
{
2220-
assert(emitter::isFloatReg(targetReg));
2221-
assert(varTypeIsFloating(node->gtType) || varTypeIsSIMD(node->gtType));
2220+
assert(emitter::isFloatReg(targetReg));
2221+
assert(varTypeIsFloating(node->gtType) || varTypeIsSIMD(node->gtType));
22222222

22232223
if (targetReg != op2Reg)
22242224
{

0 commit comments

Comments
 (0)