diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-02-27 21:19:58 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-02-27 21:19:58 +0000 |
commit | 1d7abba8db3f6a6e59b1188c6cb420a1a055ef88 (patch) | |
tree | 0878274e4910ffb03ce122837c8c0840fc6c2b3a /test/CodeGenCXX/arm64-empty-struct.cpp | |
parent | 7c2d1f771cdcceba7703b31a502acc397ff8d9b7 (diff) |
Update Clang tests to handle explicitly typed load changes in LLVM.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230795 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/arm64-empty-struct.cpp')
-rw-r--r-- | test/CodeGenCXX/arm64-empty-struct.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/arm64-empty-struct.cpp b/test/CodeGenCXX/arm64-empty-struct.cpp index 6fa4e95295..6053c4af42 100644 --- a/test/CodeGenCXX/arm64-empty-struct.cpp +++ b/test/CodeGenCXX/arm64-empty-struct.cpp @@ -9,7 +9,7 @@ int take_args(int a, ...) { // CHECK: call void @llvm.va_start emptyvar = __builtin_va_arg(l, Empty); -// CHECK: load i8** +// CHECK: load i8*, i8** // CHECK-NOT: getelementptr // CHECK: [[EMPTY_PTR:%[a-zA-Z0-9._]+]] = bitcast i8* {{%[a-zA-Z0-9._]+}} to %struct.Empty* @@ -17,7 +17,7 @@ int take_args(int a, ...) { // (e.g. it's at the very bottom of the stack and the next page is // invalid). This doesn't matter provided it's never loaded (there's no // well-defined way to tell), but it becomes a problem if we do try to use it. -// CHECK-NOT: load %struct.Empty* [[EMPTY_PTR]] +// CHECK-NOT: load %struct.Empty, %struct.Empty* [[EMPTY_PTR]] int i = __builtin_va_arg(l, int); // CHECK: va_arg i8** {{%[a-zA-Z0-9._]+}}, i32 |