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,h -- 
llvm/include/llvm/CodeGen/Passes.h llvm/include/llvm/CodeGen/TargetLowering.h 
llvm/include/llvm/InitializePasses.h 
llvm/include/llvm/Passes/CodeGenPassBuilder.h llvm/lib/CodeGen/CodeGen.cpp 
llvm/lib/CodeGen/TargetPassConfig.cpp llvm/lib/Passes/PassBuilder.cpp 
llvm/tools/opt/optdriver.cpp llvm/include/llvm/CodeGen/ExpandIRInsts.h 
llvm/lib/CodeGen/ExpandIRInsts.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/CodeGen/ExpandIRInsts.cpp 
b/llvm/lib/CodeGen/ExpandIRInsts.cpp
index ace330cb2..1d09000fb 100644
--- a/llvm/lib/CodeGen/ExpandIRInsts.cpp
+++ b/llvm/lib/CodeGen/ExpandIRInsts.cpp
@@ -56,11 +56,11 @@
 
 using namespace llvm;
 
-static cl::opt<unsigned> ExpandFpConvertBits(
-    "expand-fp-convert-bits", cl::Hidden,
-    cl::init(llvm::IntegerType::MAX_INT_BITS),
-    cl::desc("fp convert instructions on integers with "
-             "more than <N> bits are expanded."));
+static cl::opt<unsigned>
+    ExpandFpConvertBits("expand-fp-convert-bits", cl::Hidden,
+                        cl::init(llvm::IntegerType::MAX_INT_BITS),
+                        cl::desc("fp convert instructions on integers with "
+                                 "more than <N> bits are expanded."));
 
 static cl::opt<unsigned>
     ExpandDivRemBits("expand-div-rem-bits", cl::Hidden,

``````````

</details>


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

Reply via email to