[PATCH] D48589: [WIP] [CodeGen] Allow specifying Extend to CoerceAndExpand

Roger Ferrer Ibanez via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 26 02:37:54 PDT 2018


rogfer01 created this revision.
rogfer01 added a reviewer: rjmccall.

This is WIP and it is motivated by the suggestions in http://lists.llvm.org/pipermail/cfe-dev/2018-June/058263.html

First attempt, piggybacking the extend information in a structure where the bit-width of the integer represents the exact extension intended. There is a bit of overlapping with the original Extend but I'm not convinced we win anything from rewriting it into the new representation.

I plan to test this using unit tests but I can link a diff with the current usage in case it helps.


https://reviews.llvm.org/D48589

Files:
  include/clang/CodeGen/CGFunctionInfo.h
  lib/CodeGen/CGCall.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48589.152859.patch
Type: text/x-patch
Size: 8721 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180626/5de9be67/attachment-0001.bin>


More information about the cfe-commits mailing list