[PATCH] D20718: AMDGPU: Add fract intrinsic

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu May 26 18:54:58 PDT 2016


arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added subscribers: kzhuravl, arsenm.

Remove broken patterns matching it. This was matching the
unsafe math pattern and expanding the fix for the buggy instruction
from the pattern. The problems are also on CI. Remove the workarounds
and only use fract with unsafe math or from the intrinsic.

http://reviews.llvm.org/D20718

Files:
  include/llvm/IR/IntrinsicsAMDGPU.td
  lib/Target/AMDGPU/CIInstructions.td
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIInstructions.td
  test/CodeGen/AMDGPU/fract.f64.ll
  test/CodeGen/AMDGPU/fract.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.fract.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20718.58742.patch
Type: text/x-patch
Size: 16278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160527/3da003de/attachment.bin>


More information about the llvm-commits mailing list