summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/clear_cache.c
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-02-14 00:41:07 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-02-14 00:41:07 +0000
commit426078055248bcbfc5b818e703333113c5e61594 (patch)
treeb0219a7dd95e61b47be5aa39a6441798d03dc71d /clang/test/CodeGen/clear_cache.c
parent3e160d5e8cead24e9b95e717a39a24c94153ce4c (diff)
downloadbcm5719-llvm-426078055248bcbfc5b818e703333113c5e61594.tar.gz
bcm5719-llvm-426078055248bcbfc5b818e703333113c5e61594.zip
Update test case to be compatible with auto-migration to new getelementptr syntax coming in the near future
The first change won't touch GEPOperators such as these, but the update script only identifies them by the leading '(' after getelementptr or 'getelementptr inbounds', so update this test to at least have those features to allow auto-migrating. llvm-svn: 229198
Diffstat (limited to 'clang/test/CodeGen/clear_cache.c')
-rw-r--r--clang/test/CodeGen/clear_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/clear_cache.c b/clang/test/CodeGen/clear_cache.c
index f859d7fdc9a..ec88c904c24 100644
--- a/clang/test/CodeGen/clear_cache.c
+++ b/clang/test/CodeGen/clear_cache.c
@@ -7,6 +7,6 @@ char buffer[32] = "This is a largely unused buffer";
int main() {
__builtin___clear_cache(buffer, buffer+32);
-// CHECK: @llvm.clear_cache(i8* getelementptr {{.*}}, i8* getelementptr {{.*}} (i8* getelementptr {{.*}} 32))
+// CHECK: @llvm.clear_cache(i8* getelementptr inbounds ({{.*}}, i8* getelementptr inbounds (i8* getelementptr inbounds ({{.*}} 32))
return 0;
}
OpenPOWER on IntegriCloud