[llvm] [AArch64] Sink vscale calls into loops for better isel (PR #70304)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 26 01:46:51 PDT 2023


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 0c6759b576947def0210e1bfb135fe8092d51c45 4287197c3880522b4d163fefd0d7d70ee39034b7 -- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index 5b4f6531244c..bf6d2dd1e029 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -14648,7 +14648,7 @@ bool AArch64TargetLowering::shouldSinkOperands(
         Ops.push_back(&I->getOperandUse(0));
         Sink = true;
       }
-      
+
       if (shouldSinkVScale(I->getOperand(1), Ops)) {
         Ops.push_back(&I->getOperandUse(1));
         Sink = true;

``````````

</details>


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


More information about the llvm-commits mailing list