[PATCH] D139174: [PowerPC][GISEL]support for float point and integer convertion
ChenZheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 2 00:45:40 PST 2022
shchenz created this revision.
shchenz added reviewers: arsenm, amyk, Kai, nemanjai, PowerPC.
Herald added subscribers: kbarton, hiraditya.
Herald added a project: All.
shchenz requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
Add support for `fptosi`,`fptoui`,`sitofp`,`uitofp`
For now only handle 64 bit integer to make it does not depend on any other patches. 32 bit integer needs handling for G_SEXT/G_ZEXT.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D139174
Files:
llvm/lib/Target/PowerPC/GISel/PPCInstructionSelector.cpp
llvm/lib/Target/PowerPC/GISel/PPCLegalizerInfo.cpp
llvm/lib/Target/PowerPC/GISel/PPCRegisterBankInfo.cpp
llvm/test/CodeGen/PowerPC/GlobalISel/float-integer-conv.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139174.479540.patch
Type: text/x-patch
Size: 8759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221202/2bd7e86e/attachment.bin>
More information about the llvm-commits
mailing list