[LLVMdev] missed optimizations

John Regehr regehr at cs.utah.edu
Fri Mar 6 20:40:03 PST 2009


It turns out to be pretty easy to use our random program generator to 
search for missed optimizations by generating highly restricted programs 
that are equivalent to "return 0" or similar, and then checking that 
LLVM properly evaporates the code.

The result will be a lot of bug reports like this:

   http://llvm.org/bugs/show_bug.cgi?id=3740

Daniel says this is a boring phase ordering problem but there are also 
more interesting cases.

Do people care?  Should we submit a string of these sorts of reports?

John



More information about the llvm-dev mailing list