aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/call-imm.ll
blob: 25b911f59712ab0e7576332c3bb46de0e67bbb68 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | llc -march=x86    | grep call | grep 12345678
; RUN: llvm-as < %s | llc -march=x86-64 | grep call | grep 12345678
; PR3666

define i32 @main() nounwind {
entry:
	%0 = call i32 inttoptr (i32 12345678 to i32 (i32)*)(i32 0) nounwind		; <i32> [#uses=1]
	ret i32 %0
}