summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/may-alias.c
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-10-11 20:48:38 +0000
committerManman Ren <manman.ren@gmail.com>2013-10-11 20:48:38 +0000
commitf5d9d348f7b362c09c0a14160c2c8a5517f717ea (patch)
tree59d0d28841e0c3cde93b56362170be1abd6645d1 /clang/test/CodeGen/may-alias.c
parentfe56be58198da1211c8ac9c6cbf38c66fd805dc2 (diff)
downloadbcm5719-llvm-f5d9d348f7b362c09c0a14160c2c8a5517f717ea.tar.gz
bcm5719-llvm-f5d9d348f7b362c09c0a14160c2c8a5517f717ea.zip
Turn struct-path aware TBAA on by default.
Use -no-struct-path-tbaa to turn it off. This is the same as r191695, which was reverted because it depends on a commit that has issues. llvm-svn: 192497
Diffstat (limited to 'clang/test/CodeGen/may-alias.c')
-rw-r--r--clang/test/CodeGen/may-alias.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/may-alias.c b/clang/test/CodeGen/may-alias.c
index d901738e257..4d6f721f6ab 100644
--- a/clang/test/CodeGen/may-alias.c
+++ b/clang/test/CodeGen/may-alias.c
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -Werror -triple i386-unknown-unknown -emit-llvm -O1 -disable-llvm-optzns -o - %s | FileCheck %s
-// RUN: %clang_cc1 -Werror -triple i386-unknown-unknown -emit-llvm -O1 -struct-path-tbaa -disable-llvm-optzns -o - %s | FileCheck %s -check-prefix=PATH
+// RUN: %clang_cc1 -Werror -triple i386-unknown-unknown -emit-llvm -O1 -no-struct-path-tbaa -disable-llvm-optzns -o - %s | FileCheck %s
+// RUN: %clang_cc1 -Werror -triple i386-unknown-unknown -emit-llvm -O1 -disable-llvm-optzns -o - %s | FileCheck %s -check-prefix=PATH
// Types with the may_alias attribute should be considered equivalent
// to char for aliasing.
OpenPOWER on IntegriCloud