[PATCH] [complex] Teach the complex math IR gen to emit direct math and a NaN-test prior to the call to the library function.

Hal Finkel hfinkel at anl.gov
Wed Oct 22 13:31:01 PDT 2014


----- Original Message -----
> From: "Bill Schmidt" <wschmidt at linux.vnet.ibm.com>
> To: chandlerc at gmail.com, resistor at mac.com, hfinkel at anl.gov, scanon at apple.com
> Cc: wschmidt at linux.vnet.ibm.com, cfe-commits at cs.uiuc.edu
> Sent: Wednesday, October 22, 2014 3:27:30 PM
> Subject: Re: [PATCH] [complex] Teach the complex math IR gen to emit direct math and a NaN-test prior to the call to
> the library function.
> 
> I realize this revision is closed, but...
> 
> Three of these test variants fail in the parser (unsupported floating
> point type) when compiled for powerpc64le-unknown-linux-gnu:
> 
> long double _Complex mul_long_double_cc(long double _Complex a, long
> double _Complex b)
> long double _Complex div_long_double_rc(long double a, long double
> _Complex b)
> long double _Complex div_long_double_cc(long double _Complex a, long
> double _Complex b)

Hrmm... that seems like a bug that we should fix.

 -Hal

> 
> REPOSITORY
>   rL LLVM
> 
> http://reviews.llvm.org/D5756
> 
> 
> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory



More information about the cfe-commits mailing list