[llvm] [Passes] opt Segmentation fault with the pass "codegenprepare" (PR #89566)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 21 20:39:15 PDT 2024
coderchenlin wrote:
the error reported from there:

`getSubtargetImpl` returns a nullptr, and makes the program crash.
as far as I know, the opt should be independent of the target but codegenprepare is not. Thus, I think we should not register this pass.
https://github.com/llvm/llvm-project/pull/89566
More information about the llvm-commits
mailing list