From 0dfc8b303cac8e56b1dec466627462d24dbacb78 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 5 Mar 2014 18:59:40 -0800 Subject: Don't emit JS declarations for LLVM intrinsics expanded inline. --- test/CodeGen/JS/mem-intrinsics.ll | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/CodeGen/JS/mem-intrinsics.ll b/test/CodeGen/JS/mem-intrinsics.ll index 2fb834beaa..52b13f3336 100644 --- a/test/CodeGen/JS/mem-intrinsics.ll +++ b/test/CodeGen/JS/mem-intrinsics.ll @@ -30,6 +30,9 @@ define void @test_loop_memset(i8* %d, i8* %s) { ret void } +; Also, don't emit declarations for the intrinsic functions. +; CHECK-NOT: p0i8 + declare void @llvm.memcpy.p0i8.p0i8.i32(i8* nocapture, i8* nocapture, i32, i32, i1) #0 declare void @llvm.memset.p0i8.i32(i8* nocapture, i8, i32, i32, i1) #0 -- cgit v1.2.3-18-g5258