1 ; RUN: llc < %s -march=c | not grep -- --65535 2 ; PR596 3 4 target datalayout = "e-p:32:32" 5 target triple = "i686-pc-linux-gnu" 6 7 declare void @func(i32) 8 9 define void @funcb() { 10 entry: 11 %tmp.1 = sub i32 0, -65535 ; <i32> [#uses=1] 12 call void @func( i32 %tmp.1 ) 13 br label %return 14 15 return: ; preds = %entry 16 ret void 17 } 18 19