[llvm] [llc] Provide `opt` like verifier options (PR #106665)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 07:15:56 PDT 2024


paperchalice wrote:

> > I think something broke with this patch. If I run
> > ```
> > valgrind llc -mtriple=x86_64-pc-linux-gnu -enable-new-pm -print-pipeline-passes -filetype=null test/tools/llc/new-pm/pipeline.ll
> > ```
> > 
> > 
> >     
> >       
> >     
> > 
> >       
> >     
> > 
> >     
> >   
> > with this patch I get a
> > ```
> > ==3681339== Conditional jump or move depends on uninitialised value(s)
> > ```
> > 
> > 
> >     
> >       
> >     
> > 
> >       
> >     
> > 
> >     
> >   
> > complaint, and on some downstream buildbots I see a libc error
> > ```
> > 14:54:29 *** Error in `/repo/.../bin/llc': free(): invalid pointer: 0x00007fa3183497d8 ***
> > ```
> > 
> > 
> >     
> >       
> >     
> > 
> >       
> >     
> > 
> >     
> >   
> > when running the same testcase.
> 
> The problem seems to disappear with #107237 . I don't know if that is reasonable?

May related to the incorrect dummy version of `MachineVerifierPass`. 🤔

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


More information about the llvm-commits mailing list