[clang] [Clang][SPIRV][AMDGPU] Override `supportsLibCall` for AMDGCNSPIRV (PR #143814)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 11 16:53:17 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 c,cpp -- clang/lib/CodeGen/Targets/SPIR.cpp clang/test/CodeGen/logb_scalbn.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/CodeGen/Targets/SPIR.cpp b/clang/lib/CodeGen/Targets/SPIR.cpp
index ebf983c15..5918f878c 100644
--- a/clang/lib/CodeGen/Targets/SPIR.cpp
+++ b/clang/lib/CodeGen/Targets/SPIR.cpp
@@ -76,8 +76,8 @@ public:
llvm::AtomicOrdering Ordering,
llvm::LLVMContext &Ctx) const override;
bool supportsLibCall() const override {
- return
- getABIInfo().getTarget().getTriple().getVendor() != llvm::Triple::AMD;
+ return getABIInfo().getTarget().getTriple().getVendor() !=
+ llvm::Triple::AMD;
}
};
``````````
</details>
https://github.com/llvm/llvm-project/pull/143814
More information about the cfe-commits
mailing list