Evan Cheng | 379e15e | 2009-03-12 23:01:35 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc -march=x86 | grep call | not grep {*} |
2 | ; RUN: llvm-as < %s | llc -march=x86 | grep call | grep 12345678 | ||||
3 | ; RUN: llvm-as < %s | llc -march=x86-64 | grep call | grep 12345678 | ||||
4 | ; PR3666 | ||||
5 | ; PR3773 | ||||
6 | |||||
7 | define i32 @main() nounwind { | ||||
8 | entry: | ||||
9 | %0 = call i32 inttoptr (i32 12345678 to i32 (i32)*)(i32 0) nounwind ; <i32> [#uses=1] | ||||
10 | ret i32 %0 | ||||
11 | } |