[llvm] Initial commit (PR #138776)
via llvm-commits
llvm-commits at lists.llvm.org
Tue May 6 15:59:27 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 h -- llvm/include/llvm/CodeGen/TargetLowering.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/CodeGen/TargetLowering.h b/llvm/include/llvm/CodeGen/TargetLowering.h
index 30e602732..94e50bbaf 100644
--- a/llvm/include/llvm/CodeGen/TargetLowering.h
+++ b/llvm/include/llvm/CodeGen/TargetLowering.h
@@ -3024,7 +3024,7 @@ public:
/// by referencing its sub-register AX.
/// Targets must return false when FromTy <= ToTy.
virtual bool isTruncateFree(Type *FromTy, Type *ToTy) const {
- return isTruncateFree(EVT::getEVT(FromTy), EVT::getEVT(ToTy));
+ return isTruncateFree(EVT::getEVT(FromTy), EVT::getEVT(ToTy));
}
/// Return true if a truncation from FromTy to ToTy is permitted when deciding
``````````
</details>
https://github.com/llvm/llvm-project/pull/138776
More information about the llvm-commits
mailing list