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

Chandler Carruth chandlerc at gmail.com
Thu Mar 13 17:01:31 PDT 2014


On Thu, Mar 13, 2014 at 4:16 PM, Katya Romanova <
Katya_Romanova at playstation.sony.com> wrote:

>   Hi Chandler,
>   This bugfix is still sitting in my queue. Is it OK to commit?  If you
> are busy, maybe Eric could review?
>
>   I will make a small change to the testcase before I commit. I will add
> -mtriple-x86_64-linux to the RUN line.
>
>   Thank you!
>

Please minimize the test case according to this comment I made previously:

I don't think we need a full debug-info test case here.
> Just put some stub debug_value calls into the test in the appropriate
> places with null metadata. It should still work just as well and won't
> require the full Clang-generated DWARF-structured debug info metadata.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140313/c4df3444/attachment.html>


More information about the llvm-commits mailing list