summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/exprs.c
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-06-29 18:34:40 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-06-29 18:34:40 +0000
commit99e13101b2bd7500919c368504c99dbd08b6a8e9 (patch)
tree44882a41c3103e32c3523b026be9d397ef346b66 /clang/test/CodeGen/exprs.c
parentf35e76552f68dc07bedc75f006e0ae1a9a18e81c (diff)
downloadbcm5719-llvm-99e13101b2bd7500919c368504c99dbd08b6a8e9.tar.gz
bcm5719-llvm-99e13101b2bd7500919c368504c99dbd08b6a8e9.zip
tests: Fix test to not depend on instruction names.
llvm-svn: 107186
Diffstat (limited to 'clang/test/CodeGen/exprs.c')
-rw-r--r--clang/test/CodeGen/exprs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/test/CodeGen/exprs.c b/clang/test/CodeGen/exprs.c
index aa4aa51ddce..7cc1134077e 100644
--- a/clang/test/CodeGen/exprs.c
+++ b/clang/test/CodeGen/exprs.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-unknown-unknown %s -emit-llvm -o - | FileCheck %s
// PR1895
// sizeof function
@@ -126,7 +126,8 @@ int f11(long X) {
int A[100];
return A[X];
-// CHECK: load {{.*}}* %X.addr
+// CHECK: [[Xaddr:%[^ ]+]] = alloca i64, align 8
+// CHECK: load {{.*}}* [[Xaddr]]
// CHECK-NEXT: getelementptr inbounds [100 x i32]* %A, i32 0,
// CHECK-NEXT: load i32*
}
OpenPOWER on IntegriCloud