-; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | not grep "\-\-65535"
-; ModuleID = '<stdin>'
-target endian = little
-target pointersize = 32
-target triple = "i686-pc-linux-gnu"
+; RUN: llvm-as < %s | llc -march=c | not grep -- --65535
+; PR596
-implementation ; Functions:
+target datalayout = "e-p:32:32"
+target triple = "i686-pc-linux-gnu"
-declare void %func(int)
+declare void @func(i32)
-void %funcb() {
+define void @funcb() {
entry:
- %tmp.1 = sub int 0, -65535 ; <int> [#uses=1]
- call void %func( int %tmp.1 )
- br label %return
+ %tmp.1 = sub i32 0, -65535 ; <i32> [#uses=1]
+ call void @func( i32 %tmp.1 )
+ br label %return
-return: ; preds = %entry
- ret void
+return: ; preds = %entry
+ ret void
}
+