[llvm] [SystemZ] Add custom handling of legal vectors with reduce-add. (PR #88495)

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 12 03:13:39 PDT 2024


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 5f774619eac5db73398225a4c924a9c1d437fb40 f4da190ab1eb08452dd9910aa84205172a8a174b -- llvm/lib/Target/SystemZ/SystemZISelLowering.cpp llvm/lib/Target/SystemZ/SystemZISelLowering.h llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h b/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h
index 0153fb4f6f..1038f8aac3 100644
--- a/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h
+++ b/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h
@@ -126,7 +126,7 @@ public:
 
   InstructionCost getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA,
                                         TTI::TargetCostKind CostKind);
-  
+
   bool shouldExpandReduction(const IntrinsicInst *II) const;
   /// @}
 };

``````````

</details>


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


More information about the llvm-commits mailing list