]> granicus.if.org Git - llvm/commitdiff
AMDGPU: Remove dead pattern
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 17 Jan 2017 00:10:43 +0000 (00:10 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 17 Jan 2017 00:10:43 +0000 (00:10 +0000)
This is the unsafe conversion pattern, but not guarded by
an unsafe math check. It is also already done in LegalizeDAG.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292173 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AMDGPU/SIInstructions.td

index 7810b0d7060c576c498bbd4f10591e5ad4d17c72..9ce717f43c03787d9be20fca594b07c9d8f4701d 100644 (file)
@@ -438,11 +438,6 @@ def : Pat <
   (V_CVT_F16_F32_e32 $src)
 >;
 
-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))