Skip to content

Commit 2aab1d4

Browse files
committed
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
1 parent 7233344 commit 2aab1d4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

llvm/lib/Target/AMDGPU/SIInstructions.td

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -438,11 +438,6 @@ def : Pat <
438438
(V_CVT_F16_F32_e32 $src)
439439
>;
440440

441-
def : Pat <
442-
(f16 (fpround f64:$src)),
443-
(V_CVT_F16_F32_e32 (V_CVT_F32_F64_e32 $src))
444-
>;
445-
446441
def : Pat <
447442
(i32 (fp_to_sint f16:$src)),
448443
(V_CVT_I32_F32_e32 (V_CVT_F32_F16_e32 $src))

0 commit comments

Comments
 (0)