[llvm] [NVPTX] pull in v2i32 build_vector through v2f32 bitcast (PR #153478)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 21 10:33:44 PDT 2025
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 HEAD~1 HEAD --extensions cpp -- llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp b/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
index 566ba840b..e746cffc1 100644
--- a/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+++ b/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
@@ -5302,8 +5302,8 @@ static SDValue PerformANDCombine(SDNode *N,
bool AddTo = false;
if (AExt.getNode() != nullptr) {
// Re-insert the ext as a zext.
- Val = DCI.DAG.getNode(ISD::ZERO_EXTEND, SDLoc(N),
- AExt.getValueType(), Val);
+ Val =
+ DCI.DAG.getNode(ISD::ZERO_EXTEND, SDLoc(N), AExt.getValueType(), Val);
AddTo = true;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/153478
More information about the llvm-commits
mailing list