[llvm-commits] [Patch] Custom Lowering for TRUNCATE

Tilmann Scheller tilmann.scheller at googlemail.com
Mon Dec 1 12:59:09 PST 2008


On Mon, Dec 1, 2008 at 7:35 PM, Evan Cheng <evan.cheng at apple.com> wrote:
> The code to custom lower TRUNCATE should be inside the getTypeAction
> Legal case, right?
>
>     switch (getTypeAction(Node->getOperand(0).getValueType())) {
>     case Legal:
>
> Evan
Yes, my bad. I've attached a new patch.

Greetings,

Tilmann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: customLowerTruncate2.patch
Type: text/x-patch
Size: 679 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20081201/87ce62c3/attachment.bin>


More information about the llvm-commits mailing list