[llvm-commits] [PATCH][fast-math, Instcombine] X * (cond ? 1.0 : 0.0) => cond ? X : 0.0
Shuxin Yang
shuxin.llvm at gmail.com
Fri Dec 14 10:49:24 PST 2012
Hi, Nadav:
Thank you very much! Committed in r170226 with minor change in
coding style.
Shuxin
On 12/14/12 9:58 AM, Nadav Rotem wrote:
> LGTM.
>
>
> On Dec 13, 2012, at 2:24 PM, Shuxin Yang <shuxin.llvm at gmail.com> wrote:
>
>> Hi,
>>
>> The attached patch is to implement rule:
>> X * (cond ? 1.0 : 0.0) => Cond ? X : 0.0
>>
>> The multiply must be flagged n-signed-zero and n-nan.
>>
>> Thanks
>> Shuxin
>> <mpy_select.patch>_______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list