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 cpp,c,cl,h -- 
clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp 
clang/lib/CodeGen/Targets/AMDGPU.cpp clang/lib/CodeGen/Targets/SPIR.cpp 
clang/test/CodeGen/AMDGPU/amdgpu-atomic-float.c 
clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11.cl 
clang/test/CodeGenOpenCL/builtins-amdgcn-gfx1250.cl 
clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx90a.cl 
clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx942.cl 
clang/test/OpenMP/amdgpu-unsafe-fp-atomics.cpp 
llvm/include/llvm/IR/AutoUpgrade.h llvm/lib/Bitcode/Reader/BitcodeReader.cpp 
llvm/lib/CodeGen/AtomicExpandPass.cpp llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp 
llvm/lib/IR/AutoUpgrade.cpp llvm/lib/Target/AMDGPU/SIISelLowering.cpp 
llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp 
mlir/lib/Target/LLVMIR/Dialect/ROCDL/ROCDLToLLVMIRTranslation.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/include/llvm/IR/AutoUpgrade.h 
b/llvm/include/llvm/IR/AutoUpgrade.h
index 285d459ec..4a3b47b62 100644
--- a/llvm/include/llvm/IR/AutoUpgrade.h
+++ b/llvm/include/llvm/IR/AutoUpgrade.h
@@ -85,7 +85,8 @@ namespace llvm {
   /// Otherwise return the \p TBAANode itself.
   LLVM_ABI MDNode *UpgradeTBAANode(MDNode &TBAANode);
 
-  /// Upgrade instruction-level metadata (e.g. legacy 
amdgpu.ignore.denormal.mode).
+  /// Upgrade instruction-level metadata (e.g. legacy
+  /// amdgpu.ignore.denormal.mode).
   LLVM_ABI void UpgradeInstructionMetadata(Instruction &I);
 
   /// This is an auto-upgrade for bitcast between pointers with different

``````````

</details>


https://github.com/llvm/llvm-project/pull/217585
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to