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 origin/main HEAD --extensions h,cpp --
llvm/lib/Target/PISA/PISACacheHintSelector.cpp
llvm/lib/Target/PISA/PISAConstProp.cpp llvm/lib/Target/PISA/PISAConstProp.h
llvm/lib/Target/PISA/PISAEmitIntrinsics.cpp
llvm/lib/Target/PISA/PISAExpandIntrinsics.cpp
llvm/lib/Target/PISA/PISAInsertLifetimeStart.cpp
llvm/lib/Target/PISA/PISAKernelByValArgsLowering.cpp
llvm/lib/Target/PISA/PISAKernelByValArgsLowering.h
llvm/lib/Target/PISA/PISALayout.cpp llvm/lib/Target/PISA/PISALegalizeCalls.cpp
llvm/lib/Target/PISA/PISALegalizePredicates.cpp
llvm/lib/Target/PISA/PISALegalizeSubregAccess.cpp
llvm/lib/Target/PISA/PISAMarkConvergentNoMerge.cpp
llvm/lib/Target/PISA/PISAOptimizeRedundantCopies.cpp
llvm/lib/Target/PISA/PISAOptimizeSubregAccess.cpp
llvm/lib/Target/PISA/PISAPropagateNullPointers.cpp
llvm/lib/Target/PISA/PISAReplaceIntrinsics.cpp
llvm/lib/Target/PISA/PISAScopeSelector.cpp
llvm/lib/Target/PISA/PISAVerifier.cpp llvm/lib/Target/PISA/PISAVerifyTypes.cpp
llvm/lib/Target/PISA/PISA.h llvm/lib/Target/PISA/PISATargetMachine.cpp
--diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/PISA/PISAKernelByValArgsLowering.cpp
b/llvm/lib/Target/PISA/PISAKernelByValArgsLowering.cpp
index 03b1d6141..0e201bef6 100644
--- a/llvm/lib/Target/PISA/PISAKernelByValArgsLowering.cpp
+++ b/llvm/lib/Target/PISA/PISAKernelByValArgsLowering.cpp
@@ -30,7 +30,8 @@ using namespace llvm::PISAAS;
namespace {
class PISAKernelByValArgsLowering {
public:
- explicit PISAKernelByValArgsLowering(Function &F) : F(F),
Ctx(F.getContext()) {
+ explicit PISAKernelByValArgsLowering(Function &F)
+ : F(F), Ctx(F.getContext()) {
assert(F.getCallingConv() == CallingConv::PISA_KERNEL &&
"Expected PISA_KERNEL calling convention");
assert(F.getReturnType()->isVoidTy() && "Expected void return type");
@@ -90,8 +91,8 @@ bool PISAKernelByValArgsLowering::run() {
return true;
}
-AttributeList
-PISAKernelByValArgsLowering::getNewAttributes(const AttributeList &Attrs)
const {
+AttributeList PISAKernelByValArgsLowering::getNewAttributes(
+ const AttributeList &Attrs) const {
AttributeList NewAttrs;
// Copy function attributes.
``````````
</details>
https://github.com/llvm/llvm-project/pull/214559
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits