[clang] [llvm] [NVPTX] Remove nvvm.ldg.global.* intrinsics (PR #112834)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 17 21:09:53 PDT 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 76f377618532fe486d1fff1250598a73c55f4310 0b43fa7364bf45515905d98cd0731c5509de5196 --extensions h,cpp,c -- clang/lib/CodeGen/CGBuiltin.cpp clang/test/CodeGen/builtins-nvptx-native-half-type-native.c clang/test/CodeGen/builtins-nvptx-native-half-type.c clang/test/CodeGen/builtins-nvptx.c llvm/lib/IR/AutoUpgrade.cpp llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp llvm/lib/Target/NVPTX/NVPTXISelLowering.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp
index 3b42977b57..97f6152ab6 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -20474,7 +20474,7 @@ static NVPTXMmaInfo getNVPTXMmaInfo(unsigned BuiltinID) {
}
static Value *MakeLdu(unsigned IntrinsicID, CodeGenFunction &CGF,
- const CallExpr *E) {
+ const CallExpr *E) {
Value *Ptr = CGF.EmitScalarExpr(E->getArg(0));
QualType ArgType = E->getArg(0)->getType();
clang::CharUnits Align = CGF.CGM.getNaturalPointeeTypeAlignment(ArgType);
``````````
</details>
https://github.com/llvm/llvm-project/pull/112834
More information about the cfe-commits
mailing list