[PATCH] D68240: AMDGPU: Fix not using v_cvt_f16_[iu]16
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 30 13:09:49 PDT 2019
arsenm created this revision.
arsenm added a reviewer: rampitec.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.
We weren't treating i16->f16 casts as legal on targets with these
instructions, and always using a pair of casts through i32.
https://reviews.llvm.org/D68240
Files:
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/sdwa-peephole.ll
test/CodeGen/AMDGPU/sitofp.f16.ll
test/CodeGen/AMDGPU/uitofp.f16.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68240.222484.patch
Type: text/x-patch
Size: 6721 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190930/76c1c835/attachment.bin>
More information about the llvm-commits
mailing list