From 1cec4fdddf36f8fcb0bcbc49209411ac0ba81251 Mon Sep 17 00:00:00 2001 From: Artur Pilipenko Date: Wed, 22 Jun 2016 15:16:06 +0000 Subject: Upgrade old memset/memcpy signatures (without isVolatile argument) in tests We no longer have corresponding code in autoupgrade and the vast majority of the tests were fixed long time ago. Fix the remaining few. One of the verifier test cases is marked as XFAIL because it was passing only because the signature was incorrect. llvm-svn: 273428 --- llvm/test/Transforms/Inline/inline-invoke-tail.ll | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'llvm/test/Transforms') diff --git a/llvm/test/Transforms/Inline/inline-invoke-tail.ll b/llvm/test/Transforms/Inline/inline-invoke-tail.ll index f4b80653d01..5a9edaca600 100644 --- a/llvm/test/Transforms/Inline/inline-invoke-tail.ll +++ b/llvm/test/Transforms/Inline/inline-invoke-tail.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -inline -S | not grep "tail call void @llvm.memcpy.i32" +; RUN: opt < %s -inline -S | not grep "tail call void @llvm.memcpy.p0i8.p0i8.i32" ; PR3550 define internal void @foo(i32* %p, i32* %q) { @@ -8,8 +8,6 @@ define internal void @foo(i32* %p, i32* %q) { ret void } -declare void @llvm.memcpy.i32(i8* nocapture, i8* nocapture, i32, i32) nounwind - define i32 @main() personality i32 (...)* @__gxx_personality_v0 { %a = alloca i32 ; [#uses=3] %b = alloca i32 ; [#uses=2] -- cgit v1.2.3