[llvm] [NVPTX] fixup support for unaligned parameters and returns (PR #82562)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 21 17:11:10 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 300425cea51ef566a4d38e57afd9a7ae8024a682 1638d4a788d870bdcbf35a44d99d6ce50dabd44b -- llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.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 b8e41a2d35..b17e5a55d3 100644
--- a/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+++ b/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
@@ -2049,7 +2049,6 @@ SDValue NVPTXTargetLowering::LowerCall(TargetLowering::CallLoweringInfo &CLI,
// `CALLSEQ_END` is added.
SmallVector<SDValue, 16> TempProxyRegOps;
-
// Generate loads from param memory/moves from registers for result
if (Ins.size() > 0) {
SmallVector<EVT, 16> VTs;
@@ -2203,7 +2202,6 @@ SDValue NVPTXTargetLowering::LowerCall(TargetLowering::CallLoweringInfo &CLI,
InGlue = Repl.getValue(2);
}
-
// set isTailCall to false for now, until we figure out how to express
// tail call optimization in PTX
isTailCall = false;
``````````
</details>
https://github.com/llvm/llvm-project/pull/82562
More information about the llvm-commits
mailing list