[llvm] [NFC][AMDGPU] clang-format `llvm/lib/Target/AMDGPU/SIISelLowering.cpp` (PR #112645)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 16:11:56 PDT 2024


================
@@ -16650,8 +16657,10 @@ bool SITargetLowering::requiresUniformRegister(MachineFunction &MF,
       for (auto &TC : TargetConstraints) {
         if (TC.Type == InlineAsm::isOutput) {
           ComputeConstraintToUse(TC, SDValue());
-          const TargetRegisterClass *RC = getRegForInlineAsmConstraint(
-              SIRI, TC.ConstraintCode, TC.ConstraintVT).second;
+          const TargetRegisterClass *RC =
+              getRegForInlineAsmConstraint(SIRI, TC.ConstraintCode,
+                                           TC.ConstraintVT)
+                  .second;
----------------
arsenm wrote:

I don't know why clang-format really wants to force things onto one line, and then sometimes produces these ugly breaks 

https://github.com/llvm/llvm-project/pull/112645


More information about the llvm-commits mailing list