[llvm] r338658 - [PowerPC] Do not round values prior to converting to integer

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 2 01:02:55 PDT 2018


On Thu, Aug 2, 2018 at 9:58 AM, Hans Wennborg <hans at chromium.org> wrote:
> On Thu, Aug 2, 2018 at 2:26 AM, Tom Stellard <tstellar at redhat.com> wrote:
>> On 08/01/2018 05:03 PM, Nemanja Ivanovic via llvm-commits wrote:
>>> Author: nemanjai
>>> Date: Wed Aug  1 17:03:22 2018
>>> New Revision: 338658
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=338658&view=rev
>>> Log:
>>> [PowerPC] Do not round values prior to converting to integer
>>>
>>> Adding the FP_ROUND nodes when combining FP_TO_[SU]INT of elements
>>> feeding a BUILD_VECTOR into an FP_TO_[SU]INT of the built vector
>>> loses precision. This patch removes the code that adds these nodes
>>> to true f64 operands. It also adds patterns required to ensure
>>> the code is still vectorized rather than converting individual
>>> elements and inserting into a vector.
>>>
>>
>> Hans is this OK to merge to the release_70 branch?
>
> Yes, go ahead (or let me know and I'll do it).

Actually, since I was set up, I've gone ahead and merged in r338678.


More information about the llvm-commits mailing list