summaryrefslogtreecommitdiff
path: root/test/Transforms/Inline
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-04-06 17:21:28 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-04-06 17:21:28 +0000
commitbe2df1675df492092b6355803709a62296ad73aa (patch)
treeea116c8dc234bb6585614b941e46b23bb6dc43d6 /test/Transforms/Inline
parenta28bd85aa9f540cb99be980e92d7c73e3fe96e6e (diff)
downloadllvm-be2df1675df492092b6355803709a62296ad73aa.tar.gz
llvm-be2df1675df492092b6355803709a62296ad73aa.tar.bz2
llvm-be2df1675df492092b6355803709a62296ad73aa.tar.xz
Tweak this test to ensure the inliner did indeed fire. Thanks to Richard
Smith for pointing this out in review. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154178 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/Inline')
-rw-r--r--test/Transforms/Inline/inline_cleanup.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Transforms/Inline/inline_cleanup.ll b/test/Transforms/Inline/inline_cleanup.ll
index 9f3951bd07..ee73b0e303 100644
--- a/test/Transforms/Inline/inline_cleanup.ll
+++ b/test/Transforms/Inline/inline_cleanup.ll
@@ -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: }