AMDGPU: Remove legacy rsq.clamped intrinsic
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 15 Jul 2016 21:26:52 +0000 (21:26 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 15 Jul 2016 21:26:52 +0000 (21:26 +0000)
commit7150fbf2365bbfcf08ebc4b7cc5fc26650b7555b
tree134593d776b4ecd4089641474a5f7da38838bbe4
parent8a9af26e2832b206c7660c00d0bb802ad8f12162
AMDGPU: Remove legacy rsq.clamped intrinsic

Mesa still has a use of llvm.AMDGPU.rsq.f64 remaining.

Also fix mismatch with non-IEEE rsq selecting to IEEE rsq.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275617 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/IR/IntrinsicsAMDGPU.td
lib/Target/AMDGPU/AMDGPUIntrinsics.td
lib/Target/AMDGPU/R600ISelLowering.cpp
lib/Target/AMDGPU/R600Instructions.td
lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/big_alu.ll
test/CodeGen/AMDGPU/llvm.AMDGPU.rsq.clamped.f64.ll [deleted file]
test/CodeGen/AMDGPU/llvm.AMDGPU.rsq.clamped.ll [deleted file]
test/CodeGen/AMDGPU/llvm.AMDGPU.rsq.ll [deleted file]
test/CodeGen/AMDGPU/llvm.r600.recipsqrt.clamped.ll [new file with mode: 0644]
test/CodeGen/AMDGPU/llvm.r600.recipsqrt.ieee.ll [new file with mode: 0644]
test/CodeGen/AMDGPU/pv.ll