[llvm] [RISCV][EVL] Disable EVLIndVarSimplify Pass by default (PR #151483)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 31 03:00:30 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 cpp -- llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/Target/RISCV/RISCVTargetMachine.cpp b/llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
index 9d6482377..26401aed1 100644
--- a/llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
+++ b/llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
@@ -114,10 +114,10 @@ static cl::opt<bool>
                            cl::desc("Enable Machine Pipeliner for RISC-V"),
                            cl::init(false), cl::Hidden);
 
-static cl::opt<bool> EnableEVLIndVarSimplify(
-    "riscv-simplify-evl-iv",
-    cl::desc("Enable the EVLIndVarSimplify pass."), cl::init(false),
-    cl::Hidden);
+static cl::opt<bool>
+    EnableEVLIndVarSimplify("riscv-simplify-evl-iv",
+                            cl::desc("Enable the EVLIndVarSimplify pass."),
+                            cl::init(false), cl::Hidden);
 
 extern "C" LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeRISCVTarget() {
   RegisterTargetMachine<RISCVTargetMachine> X(getTheRISCV32Target());

``````````

</details>


https://github.com/llvm/llvm-project/pull/151483


More information about the llvm-commits mailing list