Page MenuHomePhabricator

[clang] Handle lrint/llrint builtins

Authored by zatrazz on May 16 2019, 11:28 AM.



As for other floating-point rounding builtins that can be optimized
when build with -fno-math-errno, this patch adds support for lrint
and llrint. It currently only optimize for AArch64 backend.

This patch depends on

Diff Detail

rC Clang

Event Timeline

zatrazz created this revision.May 16 2019, 11:28 AM
zatrazz updated this revision to Diff 200291.May 20 2019, 8:13 AM

Updated patch based on D62026.

craig.topper accepted this revision.May 20 2019, 9:34 AM
craig.topper added a subscriber: craig.topper.


This revision is now accepted and ready to land.May 20 2019, 9:34 AM
This revision was automatically updated to reflect the committed changes.