diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-10-11 11:20:31 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-10-11 11:20:31 +0000 |
| commit | 5bbb4fa3a60bd32065784d456644d5bf95ea9ee9 (patch) | |
| tree | 33bd11d3a4cbed5ac710115dccc6ae0618a071b3 /clang/test | |
| parent | 6a00ab4b5e37ab8ba459cdd0211360cc05e810e1 (diff) | |
| download | bcm5719-llvm-5bbb4fa3a60bd32065784d456644d5bf95ea9ee9.tar.gz bcm5719-llvm-5bbb4fa3a60bd32065784d456644d5bf95ea9ee9.zip | |
clang/test/CodeGenCXX/microsoft-uuidof.cpp: Fix for -Asserts.
llvm-svn: 165712
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/CodeGenCXX/microsoft-uuidof.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/CodeGenCXX/microsoft-uuidof.cpp b/clang/test/CodeGenCXX/microsoft-uuidof.cpp index ceefacfbc75..8eeb4490ac1 100644 --- a/clang/test/CodeGenCXX/microsoft-uuidof.cpp +++ b/clang/test/CodeGenCXX/microsoft-uuidof.cpp @@ -39,16 +39,16 @@ void fun() { // CHECK: %s1_2 = alloca %struct._GUID, align 4 // CHECK: %s1_3 = alloca %struct._GUID, align 4 - // CHECK: %0 = bitcast %struct._GUID* %s1_1 to i8* - // CHECK: call void @llvm.memcpy.p0i8.p0i8.i32(i8* %0, i8* bitcast (%struct._GUID* @__uuid_12345678-1234-1234-1234-1234567890ab to i8*), i32 16, i32 4, i1 false) + // CHECK: [[U1:%.+]] = bitcast %struct._GUID* %s1_1 to i8* + // CHECK: call void @llvm.memcpy.p0i8.p0i8.i32(i8* [[U1]], i8* bitcast (%struct._GUID* @__uuid_12345678-1234-1234-1234-1234567890ab to i8*), i32 16, i32 4, i1 false) GUID s1_1 = __uuidof(S1); - // CHECK: %1 = bitcast %struct._GUID* %s1_2 to i8* - // CHECK: call void @llvm.memcpy.p0i8.p0i8.i32(i8* %1, i8* bitcast (%struct._GUID* @__uuid_12345678-1234-1234-1234-1234567890ab to i8*), i32 16, i32 4, i1 false) + // CHECK: [[U2:%.+]] = bitcast %struct._GUID* %s1_2 to i8* + // CHECK: call void @llvm.memcpy.p0i8.p0i8.i32(i8* [[U2]], i8* bitcast (%struct._GUID* @__uuid_12345678-1234-1234-1234-1234567890ab to i8*), i32 16, i32 4, i1 false) GUID s1_2 = __uuidof(S1); - // CHECK: %2 = bitcast %struct._GUID* %s1_3 to i8* - // CHECK: call void @llvm.memcpy.p0i8.p0i8.i32(i8* %2, i8* bitcast (%struct._GUID* @__uuid_12345678-1234-1234-1234-1234567890ab to i8*), i32 16, i32 4, i1 false) + // CHECK: [[U3:%.+]] = bitcast %struct._GUID* %s1_3 to i8* + // CHECK: call void @llvm.memcpy.p0i8.p0i8.i32(i8* [[U3]], i8* bitcast (%struct._GUID* @__uuid_12345678-1234-1234-1234-1234567890ab to i8*), i32 16, i32 4, i1 false) GUID s1_3 = __uuidof(s1); } |

