From d4ac29ff29d34d6246d2665a63a4258299c2a11a Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 17 Jan 2017 00:10:43 +0000 Subject: [PATCH] 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292173 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/AMDGPU/SIInstructions.td | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/Target/AMDGPU/SIInstructions.td b/lib/Target/AMDGPU/SIInstructions.td index 7810b0d7060..9ce717f43c0 100644 --- a/lib/Target/AMDGPU/SIInstructions.td +++ b/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)) >; -- 2.11.0