[PATCH] D54663: [PowerPC] Complete the custom legalization of vector int to fp conversion

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 16 22:38:52 PST 2018


nemanjai updated this revision to Diff 174497.
nemanjai edited the summary of this revision.
nemanjai added a comment.

Actually, the handling for `v2i32` is already optimal due to the DAG combine that handles this. We'll leave it in the DAG combine since that handles extractions even if they didn't come from legalizing `v2i32` types (i.e. it handles a superset of the legalization added here).


Repository:
  rL LLVM

https://reviews.llvm.org/D54663

Files:
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCInstrVSX.td
  test/CodeGen/PowerPC/vec_conv_i16_to_fp32_elts.ll
  test/CodeGen/PowerPC/vec_conv_i16_to_fp64_elts.ll
  test/CodeGen/PowerPC/vec_conv_i64_to_fp32_elts.ll
  test/CodeGen/PowerPC/vec_conv_i8_to_fp32_elts.ll
  test/CodeGen/PowerPC/vec_conv_i8_to_fp64_elts.ll
  test/CodeGen/PowerPC/vsx.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54663.174497.patch
Type: text/x-patch
Size: 257050 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181117/1e7785c9/attachment-0001.bin>


More information about the llvm-commits mailing list