[llvm-bugs] [Bug 24818] hoisting expensive ops like FP division is bad for perf

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Dec 15 10:19:41 PST 2015


https://llvm.org/bugs/show_bug.cgi?id=24818

Sanjay Patel <spatel+llvm at rotateright.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Sanjay Patel <spatel+llvm at rotateright.com> ---
Should be fixed with:
http://reviews.llvm.org/D15213
http://reviews.llvm.org/rL255660

We still need to adjust some target-specific instruction costs. For example,
sqrt is considered cheap for x86, and fdiv is considered expensive for GPUs.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151215/0d9a6cf6/attachment-0001.html>


More information about the llvm-bugs mailing list