github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. 
:warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff origin/main HEAD --extensions cpp,c -- 
clang/lib/CodeGen/Targets/X86.cpp clang/test/CodeGen/win64-i128.c 
llvm/lib/Target/X86/X86ISelLowering.cpp 
llvm/lib/Target/X86/X86ISelLoweringCall.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp 
b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 1c61863d3..221d322a8 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -30685,7 +30685,7 @@ SDValue X86TargetLowering::LowerWin64_i128OP(SDValue 
Op, SelectionDAG &DAG) cons
   case ISD::UDIV:      LC = RTLIB::UDIV_I128;  break;
   case ISD::SREM:      LC = RTLIB::SREM_I128;  break;
   case ISD::UREM:      LC = RTLIB::UREM_I128;  break;
-  // clang-format on
+    // clang-format on
   }
 
   SDLoc dl(Op);
@@ -30695,10 +30695,10 @@ SDValue X86TargetLowering::LowerWin64_i128OP(SDValue 
Op, SelectionDAG &DAG) cons
   Type *RetTy = VT.getTypeForEVT(*DAG.getContext());
   MachineFrameInfo &MFI = DAG.getMachineFunction().getFrameInfo();
   const Align StackAlign = DAG.getDataLayout().getPrefTypeAlign(RetTy);
-  int ResultFI =
-      MFI.CreateStackObject(DAG.getDataLayout().getTypeAllocSize(RetTy),
-                            StackAlign, false);
-  SDValue ResultPtr = DAG.getFrameIndex(ResultFI, 
getFrameIndexTy(DAG.getDataLayout()));
+  int ResultFI = MFI.CreateStackObject(
+      DAG.getDataLayout().getTypeAllocSize(RetTy), StackAlign, false);
+  SDValue ResultPtr =
+      DAG.getFrameIndex(ResultFI, getFrameIndexTy(DAG.getDataLayout()));
 
   TargetLowering::ArgListEntry ResultEntry(
       ResultPtr, PointerType::get(*DAG.getContext(),
@@ -30729,10 +30729,9 @@ SDValue X86TargetLowering::LowerWin64_i128OP(SDValue 
Op, SelectionDAG &DAG) cons
       DAG.getExternalSymbol(LCImpl, getPointerTy(DAG.getDataLayout()));
 
   TargetLowering::CallLoweringInfo CLI(DAG);
-  CLI.setDebugLoc(dl)
-      .setChain(InChain)
-      .setLibCallee(DAG.getLibcalls().getLibcallImplCallingConv(LCImpl),
-                    Type::getVoidTy(*DAG.getContext()), Callee, 
std::move(Args));
+  CLI.setDebugLoc(dl).setChain(InChain).setLibCallee(
+      DAG.getLibcalls().getLibcallImplCallingConv(LCImpl),
+      Type::getVoidTy(*DAG.getContext()), Callee, std::move(Args));
 
   std::pair<SDValue, SDValue> CallInfo = LowerCallTo(CLI);
   MachinePointerInfo PtrInfo =
@@ -30766,8 +30765,8 @@ SDValue 
X86TargetLowering::LowerWin64_FP_TO_INT128(SDValue Op,
   Chain = IsStrict ? Op.getOperand(0) : DAG.getEntryNode();
 
   SDValue Result;
-  std::tie(Result, Chain) = makeLibCall(DAG, LC, VT, Arg, CallOptions, dl,
-                                        Chain);
+  std::tie(Result, Chain) =
+      makeLibCall(DAG, LC, VT, Arg, CallOptions, dl, Chain);
   return Result;
 }
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/210358
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to