[llvm] [X86] Attempt to lower 512-bit shuffle(x,y) as concat(truncate(x),truncate(y)) (PR #117579)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 09:04:49 PST 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 1b18ce57f3d9bef4a97c4dd002570b3441ac85e5 19109627ffbfbcf40e0b927016ca9571cf4c4492 --extensions cpp -- llvm/lib/Target/X86/X86ISelLowering.cpp
``````````

</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 1f75c15015..9854bbe9f4 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -17419,7 +17419,7 @@ static SDValue lowerV64I8Shuffle(const SDLoc &DL, ArrayRef<int> Mask,
                                               Zeroable, Subtarget, DAG))
     return PSHUFB;
 
-    if (SDValue Trunc = lowerShuffleAsVTRUNCAndConcat(
+  if (SDValue Trunc = lowerShuffleAsVTRUNCAndConcat(
           DL, MVT::v64i8, V1, V2, Mask, Zeroable, Subtarget, DAG))
     return Trunc;
 

``````````

</details>


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


More information about the llvm-commits mailing list