Tweak this test to ensure the inliner did indeed fire. Thanks to Richard
authorChandler Carruth <chandlerc@gmail.com>
Fri, 6 Apr 2012 17:21:28 +0000 (17:21 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 6 Apr 2012 17:21:28 +0000 (17:21 +0000)
Smith for pointing this out in review.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154178 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/Inline/inline_cleanup.ll

index 9f3951bd079be1b25c4ec8bcb051c7a5f67da96a..ee73b0e30305f537e21928fe226e61a25f8a09c4 100644 (file)
@@ -165,6 +165,7 @@ define void @PR12470_outer() {
 ; instructions. Check that we don't crash and we produce a function with a single
 ; return instruction due to merging the returns of the inlined function.
 ; CHECK: define void @PR12470_outer
+; CHECK-NOT: call
 ; CHECK: ret void
 ; CHECK-NOT: ret void
 ; CHECK: }