[PATCH] Branch folding causes different code generation at "-O2 -g" and "-O2"

Chandler Carruth chandlerc at google.com
Wed Mar 5 16:34:31 PST 2014

On Wed, Mar 5, 2014 at 4:27 PM, Robinson, Paul <
Paul_Robinson at playstation.sony.com> wrote:

> > Are there really no other tests for debug info changing codegen in the
> > x86 tree?
> The LLVM test infrastructure doesn't support doing that in a general way.
> We've been finding these things in a test suite where we can make the
> test driver compile the same file two ways and compare the generated code.
> It's easy to do that when you start with C/C++ and just add -g but not
> so easy when you're starting with IR.

I'm not asking for anything general. I'm asking that if we have two tests
which are already set up to generate code with and without debug info, we
put them in a single file.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140305/49d9e171/attachment.html>

More information about the llvm-commits mailing list