[PATCH] D32391: [SelectionDAG] Improve support for promotion of <1 x fX> floating point argument types (PR31088)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 29 08:20:33 PDT 2017


RKSimon updated this revision to Diff 97193.
RKSimon added a comment.
Herald added subscribers: wdng, jholewinski.

Use VT.isFloatingPoint() to select float extension/truncation (and still use integer path by default).

Add NVPTX test as suggested.


Repository:
  rL LLVM

https://reviews.llvm.org/D32391

Files:
  include/llvm/CodeGen/SelectionDAG.h
  lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  test/CodeGen/NVPTX/f16-instructions.ll
  test/CodeGen/X86/pr31088.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32391.97193.patch
Type: text/x-patch
Size: 7096 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170429/7fe1d326/attachment-0001.bin>


More information about the llvm-commits mailing list