summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-01-17 00:10:43 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-01-17 00:10:43 +0000
commit2aab1d45ff6e76c851524b1933666681c6a87fc5 (patch)
treef53e20234ec20cdd817132c069d242b778126158 /llvm/lib/Target/AMDGPU
parent7233344c2800cf785ead332f89d0d4d6020760b8 (diff)
downloadbcm5719-llvm-2aab1d45ff6e76c851524b1933666681c6a87fc5.tar.gz
bcm5719-llvm-2aab1d45ff6e76c851524b1933666681c6a87fc5.zip
AMDGPU: Remove dead pattern
This is the unsafe conversion pattern, but not guarded by an unsafe math check. It is also already done in LegalizeDAG. llvm-svn: 292173
Diffstat (limited to 'llvm/lib/Target/AMDGPU')
-rw-r--r--llvm/lib/Target/AMDGPU/SIInstructions.td5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIInstructions.td b/llvm/lib/Target/AMDGPU/SIInstructions.td
index 7810b0d7060..9ce717f43c0 100644
--- a/llvm/lib/Target/AMDGPU/SIInstructions.td
+++ b/llvm/lib/Target/AMDGPU/SIInstructions.td
@@ -439,11 +439,6 @@ def : Pat <
>;
def : Pat <
- (f16 (fpround f64:$src)),
- (V_CVT_F16_F32_e32 (V_CVT_F32_F64_e32 $src))
->;
-
-def : Pat <
(i32 (fp_to_sint f16:$src)),
(V_CVT_I32_F32_e32 (V_CVT_F32_F16_e32 $src))
>;
OpenPOWER on IntegriCloud