aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Object/Inputs/small.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Object/Inputs/small.ll')
-rw-r--r--llvm/test/Object/Inputs/small.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/Object/Inputs/small.ll b/llvm/test/Object/Inputs/small.ll
index ef68a8c..677f20a 100644
--- a/llvm/test/Object/Inputs/small.ll
+++ b/llvm/test/Object/Inputs/small.ll
@@ -4,15 +4,15 @@ target triple = "i386-pc-windows"
define i32 @main() nounwind {
entry:
- %call = tail call i32 @puts(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i32 0, i32 0)) nounwind
- tail call void bitcast (void (...)* @SomeOtherFunction to void ()*)() nounwind
+ %call = tail call i32 @puts(ptr @.str) nounwind
+ tail call void @SomeOtherFunction() nounwind
ret i32 0
}
-declare i32 @puts(i8* nocapture) nounwind
+declare i32 @puts(ptr nocapture) nounwind
declare void @SomeOtherFunction(...)
@var = global i32 0
-@llvm.used = appending global [1 x i8*] [i8* bitcast (i32* @var to i8*)], section "llvm.metadata"
-@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* null, i8* null }]
+@llvm.used = appending global [1 x ptr] [ptr @var], section "llvm.metadata"
+@llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr null, ptr null }]