r229198 - Update test case to be compatible with auto-migration to new getelementptr syntax coming in the near future
David Blaikie
dblaikie at gmail.com
Fri Feb 13 16:41:07 PST 2015
Author: dblaikie
Date: Fri Feb 13 18:41:07 2015
New Revision: 229198
URL: http://llvm.org/viewvc/llvm-project?rev=229198&view=rev
Log:
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.
Modified:
cfe/trunk/test/CodeGen/clear_cache.c
Modified: cfe/trunk/test/CodeGen/clear_cache.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/clear_cache.c?rev=229198&r1=229197&r2=229198&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/clear_cache.c (original)
+++ cfe/trunk/test/CodeGen/clear_cache.c Fri Feb 13 18:41:07 2015
@@ -7,6 +7,6 @@ char buffer[32] = "This is a largely unu
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;
}
More information about the cfe-commits
mailing list