[PATCH] D20448: AMDGPU: Fix high bits after division optimization
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu May 19 13:22:59 PDT 2016
arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added subscribers: kzhuravl, arsenm.
This is essentially doing a 24-bit signed division with FP. We need to truncate to the N bit result.
http://reviews.llvm.org/D20448
Files:
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
test/CodeGen/AMDGPU/sdiv.ll
test/CodeGen/AMDGPU/sdivrem24.ll
test/CodeGen/AMDGPU/udiv.ll
test/CodeGen/AMDGPU/udivrem.ll
test/CodeGen/AMDGPU/udivrem24.ll
test/CodeGen/AMDGPU/udivrem64.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20448.57852.patch
Type: text/x-patch
Size: 22558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160519/0bdb7e09/attachment.bin>
More information about the llvm-commits
mailing list