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

via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 21 23:37:49 PDT 2024


coderchenlin wrote:

@boomanaiden154 , Thanks for the review and explanation. I have tried to add target datalayout/triple, but it seems not to work.

But the good news is that:
`opt -passes='require<profile-summary>,function(codegenprepare)' opt.ll -mtriple=x86_64 -S -o out.ll`
this command works for the case, both profile-summary and triple are needed. 




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


More information about the llvm-commits mailing list