forked from OSchip/llvm-project
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
This commit is contained in:
parent
3e160d5e8c
commit
4260780552
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue