[llvm] [RISCV] Support VLS for VCIX (PR #67289)

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 25 20:31:57 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 7ce800ba3197c6df866565b9be5709c8c2d64fc4 97e649bef893c04d7b786367025b577995e2b56b -- llvm/lib/Target/RISCV/RISCVISelLowering.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
index d7052e16b833..d702e76d9990 100644
--- a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -8235,8 +8235,7 @@ SDValue RISCVTargetLowering::LowerINTRINSIC_W_CHAIN(SDValue Op,
     SDLoc DL(Op);
     MVT RetContainerVT = getContainerForFixedLengthVector(VT);
     SDVTList VTs = DAG.getVTList({RetContainerVT, MVT::Other});
-    SDValue ScalableVector =
-        DAG.getNode(ISD::INTRINSIC_W_CHAIN, DL, VTs, Ops);
+    SDValue ScalableVector = DAG.getNode(ISD::INTRINSIC_W_CHAIN, DL, VTs, Ops);
     SDValue FixedVector =
         convertFromScalableVector(VT, ScalableVector, DAG, Subtarget);
     return DAG.getMergeValues({FixedVector, ScalableVector.getValue(1)}, DL);

``````````

</details>


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


More information about the llvm-commits mailing list