X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FBugPoint%2Fremove_arguments_test.ll;h=72bd8f882a0bfbe2e6cb0a9bc5f68e88e5c99fa8;hb=51cd9d6e073932fcb37f1857c66249d6c7d368ee;hp=5a0bd6f00936e004eb26c3d88854afcf808a3ccf;hpb=484147db9c8386e8e6840475b7911d7dbf8bd109;p=oota-llvm.git diff --git a/test/BugPoint/remove_arguments_test.ll b/test/BugPoint/remove_arguments_test.ll index 5a0bd6f0093..72bd8f882a0 100644 --- a/test/BugPoint/remove_arguments_test.ll +++ b/test/BugPoint/remove_arguments_test.ll @@ -1,9 +1,11 @@ -; RUN: bugpoint %s -bugpoint-crashcalls +; RUN: bugpoint %s -bugpoint-crashcalls -silence-passes -; Test to make sure that arguments are removed from the function if they are unnecessary. +; Test to make sure that arguments are removed from the function if they are +; unnecessary. -declare int %test2() -int %test(int %A, int %B, float %C) { - call int %test2() - ret int %0 +declare i32 @test2() + +define i32 @test(i32 %A, i32 %B, float %C) { + call i32 @test2() + ret i32 %1 }