[PATCH] D31946: [legalize-types] Make softening result use a single map for replacements.

Anton Yartsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 09:35:15 PDT 2017


ayartsev created this revision.

Hi all,

The attached patch is a replacement for https://reviews.llvm.org/D29265. It gets rid of special treating of SoftenedFloats and normalizes softening (makes it's logic similar to promotion, expansion, e.t.c). The patch is an effort to simplify and clarify legalization and to make perhaps the first step towards using a single map for all replacements (the idea from https://reviews.llvm.org/D29265).

Please review.


https://reviews.llvm.org/D31946

Files:
  lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
  lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
  lib/CodeGen/SelectionDAG/LegalizeTypes.h
  lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31946.94832.patch
Type: text/x-patch
Size: 7883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170411/484fcb8b/attachment.bin>


More information about the llvm-commits mailing list