aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2012-04-10 03:15:42 +0000
committerEvan Cheng <evan.cheng@apple.com>2012-04-10 03:15:42 +0000
commitfa12d0df5ac303671e268dcd7c38f0b37e010a13 (patch)
tree676867400060e87552fe4049a7d1d1509efff6fe
parentb52ba49fdbf6cdf055e8b264c18b6e594fd30dc4 (diff)
Add proper checks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154379 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/ARM/call-tc.ll6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/call-tc.ll b/test/CodeGen/ARM/call-tc.ll
index 2e59cc3f16..94edff5c0b 100644
--- a/test/CodeGen/ARM/call-tc.ll
+++ b/test/CodeGen/ARM/call-tc.ll
@@ -147,7 +147,11 @@ declare i32 @c(i32)
@x = external global i32, align 4
-define i32 @_Z5test1v() nounwind {
+define i32 @t9() nounwind {
+; CHECKT2D: t9:
+; CHECKT2D: blx __ZN9MutexLockC1Ev
+; CHECKT2D: blx __ZN9MutexLockD1Ev
+; CHECKT2D: b.w ___divsi3
%lock = alloca %class.MutexLock, align 1
%1 = call %class.MutexLock* @_ZN9MutexLockC1Ev(%class.MutexLock* %lock)
%2 = load i32* @x, align 4