[PATCH] D49507: [Power9] Add __float128 support in the backend for bitcast to a i128
Stefan Pintilie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 4 11:14:02 PDT 2018
stefanp updated this revision to Diff 168330.
stefanp added a comment.
Removed the custom PPCISD node and it simplified the patch considerably.
Added conditions to handle bitconverts from f128 to a number of vector sizes (v2i64 down to v16i8).
Did not add the code for the bitconvert from the vector sizes to f128 because I have not been able to find an example to trigger the condition. It seems that the f128 is lowered into a store followed by a load.
https://reviews.llvm.org/D49507
Files:
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCISelLowering.h
lib/Target/PowerPC/PPCInstrVSX.td
test/CodeGen/PowerPC/f128-bitcast.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49507.168330.patch
Type: text/x-patch
Size: 6125 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181004/1ac16224/attachment.bin>
More information about the llvm-commits
mailing list