We weren't treating i16->f16 casts as legal on targets with these
instructions, and always using a pair of casts through i32.
Details
Details
- Reviewers
rampitec
Diff Detail
Diff Detail
Paths
| Differential D68240
AMDGPU: Fix not using v_cvt_f16_[iu]16 ClosedPublic Authored by arsenm on Sep 30 2019, 1:09 PM.
Details
Summary We weren't treating i16->f16 casts as legal on targets with these
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 5 others. · View Herald TranscriptSep 30 2019, 1:09 PM This revision is now accepted and ready to land.Sep 30 2019, 1:14 PM This revision is now accepted and ready to land.Jan 7 2020, 10:44 AM
Revision Contents
Diff 236571 llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/sdwa-peephole.ll
llvm/test/CodeGen/AMDGPU/sitofp.f16.ll
llvm/test/CodeGen/AMDGPU/uint_to_fp.f64.ll
llvm/test/CodeGen/AMDGPU/uitofp.f16.ll
|