r181368 - Don't crash in IRGen if a conditional with 'throw' in one of its branches is

Bill Wendling wendling at apple.com
Thu May 16 11:44:12 PDT 2013


On May 8, 2013, at 1:33 PM, Richard Smith <richard at metafoo.co.uk> wrote:

> On Wed, May 8, 2013 at 10:46 AM, Ulrich Weigand <Ulrich.Weigand at de.ibm.com> wrote:
> Richard Smith <richard-llvm at metafoo.co.uk> wrote:
> 
> > --- cfe/trunk/test/CodeGenCXX/throw-expressions.cpp (original)
> > +++ cfe/trunk/test/CodeGenCXX/throw-expressions.cpp Tue May  7 16:53:22
> 2013
> 
> > +// CHECK: define i32 @_Z5test5bbi(
> 
> This fails e.g. on PowerPC64 because there's a "signext" attribute:
> define signext i32 @_Z5test5bbi(i1 zeroext %x, i1 zeroext %y, i32 signext
> %z)
> 
> Maybe the test should use a triple?
> 
> Thanks, triple added in r181465. Bill: that change should go to the 3.3 branch too.

Added. Thanks!

-bw




More information about the cfe-commits mailing list