[llvm-commits] [PATCH] llvm-stress fixes

Chris Lattner clattner at apple.com
Tue Apr 10 09:05:38 PDT 2012


On Apr 10, 2012, at 1:04 AM, Duncan Sands wrote:

> Hi Hal,
> 
>> Regarding conversion, given that ppc128 is actually the sum of two IEEE
>> (64-bit) doubles, you would need to convert both doubles to fp128 and
>> then add the two resulting fp128 values.
> 
> I'm tempted to say that ppc128 should be removed from LLVM and instead
> front-ends should just explicitly use the pair of doubles it really is,
> and generate in the IR the sequence of operations for adding such a pair
> etc that codegen currently takes care of.

That makes a lot of sense to me too.  The only issue here is that someone needs to do it.  There are PPC users of clang out there (Hal?) that may care about this not regressing.

-Chris



More information about the llvm-commits mailing list