[llvm] r292173 - AMDGPU: Remove dead pattern
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 16 16:10:44 PST 2017
Author: arsenm
Date: Mon Jan 16 18:10:43 2017
New Revision: 292173
URL: http://llvm.org/viewvc/llvm-project?rev=292173&view=rev
Log:
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.
Modified:
llvm/trunk/lib/Target/AMDGPU/SIInstructions.td
Modified: llvm/trunk/lib/Target/AMDGPU/SIInstructions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SIInstructions.td?rev=292173&r1=292172&r2=292173&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIInstructions.td (original)
+++ llvm/trunk/lib/Target/AMDGPU/SIInstructions.td Mon Jan 16 18:10:43 2017
@@ -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))
>;
More information about the llvm-commits
mailing list