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

Evan Cheng evan.cheng at apple.com
Mon Dec 1 10:35:56 PST 2008


The code to custom lower TRUNCATE should be inside the getTypeAction  
Legal case, right?

     switch (getTypeAction(Node->getOperand(0).getValueType())) {
     case Legal:

Evan

On Nov 28, 2008, at 9:03 AM, Tilmann Scheller wrote:

> Hi,
>
> the attached patch enables custom lowering for TRUNCATE (needed in
> order to custom lower TRUNCATE on CellSPU)
>
> Greetings,
>
> Tilmann
> < 
> customLowerTruncate 
> .patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list