[PATCH] D104427: [amdgpu] Improve the from f32 to i64.
Michael Liao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 16 16:39:37 PDT 2021
hliao created this revision.
hliao added reviewers: arsenm, rampitec.
Herald added subscribers: foad, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
hliao requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
- Take the same principle as the conversion from f64 to i64 with extra necessary pre- and post-processing. It helps to reduce that conversion sequence by half compared to legacy one.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D104427
Files:
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
llvm/test/CodeGen/AMDGPU/fp_to_sint.ll
llvm/test/CodeGen/AMDGPU/fp_to_uint.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104427.352582.patch
Type: text/x-patch
Size: 73683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210616/c797ec3b/attachment-0001.bin>
More information about the llvm-commits
mailing list