[llvm] [Passes] opt Segmentation fault with the pass "codegenprepare" (PR #89566)

via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 21 20:31:48 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-transforms

Author: CL (coderchenlin)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/89566.diff


4 Files Affected:

- (modified) llvm/lib/Passes/PassRegistry.def (-1) 
- (modified) llvm/lib/Transforms/Utils/BasicBlockUtils.cpp (+4) 
- (modified) llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue-inlined.ll (-1) 
- (modified) llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll (-1) 


``````````diff
diff --git a/llvm/lib/Passes/PassRegistry.def b/llvm/lib/Passes/PassRegistry.def
index 41f16d0915bf23..abb1227f5cab2d 100644
--- a/llvm/lib/Passes/PassRegistry.def
+++ b/llvm/lib/Passes/PassRegistry.def
@@ -309,7 +309,6 @@ FUNCTION_PASS("break-crit-edges", BreakCriticalEdgesPass())
 FUNCTION_PASS("callbr-prepare", CallBrPreparePass())
 FUNCTION_PASS("callsite-splitting", CallSiteSplittingPass())
 FUNCTION_PASS("chr", ControlHeightReductionPass())
-FUNCTION_PASS("codegenprepare", CodeGenPreparePass(TM))
 FUNCTION_PASS("consthoist", ConstantHoistingPass())
 FUNCTION_PASS("constraint-elimination", ConstraintEliminationPass())
 FUNCTION_PASS("coro-elide", CoroElidePass())

``````````

</details>


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


More information about the llvm-commits mailing list