[PATCH] D154528: [AMDGPU][GlobalISel] Generate fast fp64-to-fp16 conversions in unsafe mode.
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 6 03:20:21 PDT 2023
foad added a comment.
I think this should be implemented by legalizing `(f16 fptrunc (f64 x))` to `(f16 fptrunc (f32 fptrunc (f64 x)))` in the unsafe case. There should be no need for extra isel patterns.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154528/new/
https://reviews.llvm.org/D154528
More information about the llvm-commits
mailing list