aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-11-09 22:40:09 +0000
committerMike Stump <mrs@apple.com>2009-11-09 22:40:09 +0000
commit3ada2df42673b41ac173c0c9a3a2cb482837a424 (patch)
tree662469dbd2e4c13e1f8451c9e076f5cc4ca61f5a /test/CodeGen
parentd288bafe2dbb7b43173950f23589b2586c537e02 (diff)
Enable the use of the new llvm objectsize intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86607 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/object-size.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/object-size.c b/test/CodeGen/object-size.c
index 61d85419fc..ec9e50d296 100644
--- a/test/CodeGen/object-size.c
+++ b/test/CodeGen/object-size.c
@@ -46,8 +46,8 @@ void test4() {
}
void test5() {
- // CHECK: movb $0, %al
- // CHECK-NEXT: testb %al, %al
+ // CHECK: movq $-1, %rax
+ // CHECK-NEXT: cmpq $-1, %rax
// CHECK: call ___inline_strcpy_chk
strcpy(gp, "Hi there");
}