[llvm-commits] [patch] fix for PR3080 - don't produce ADDC/ADDE nodes if not legal.

Richard Osborne richard at xmos.com
Mon Nov 17 06:49:08 PST 2008


The attached patch fixes PR3080 
http://llvm.org/bugs/show_bug.cgi?id=3080. 
DAGTypeLegalizer::ExpandShiftByConstant() should test if ADDC/ADDE nodes 
and not emit them if they are not. This matches logic used when 
expanding ADD / SUB. OK to commit?

-- 
Richard Osborne | XMOS
http://www.xmos.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: shl64.patch
Type: text/x-patch
Size: 1049 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20081117/12df8c17/attachment.bin>


More information about the llvm-commits mailing list