diff options
| author | David Blaikie <dblaikie@gmail.com> | 2015-03-13 18:21:46 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2015-03-13 18:21:46 +0000 |
| commit | bdf40a62a740c6e0b6f10543617ba768759951b6 (patch) | |
| tree | 3e862f3fb3d405a72d689fd8c90b8a3675664602 /clang/test/CodeGen/c-strings.c | |
| parent | 4a54fae8cb008ea6f5e562e9561b54cf2c9e498c (diff) | |
| download | bcm5719-llvm-bdf40a62a740c6e0b6f10543617ba768759951b6.tar.gz bcm5719-llvm-bdf40a62a740c6e0b6f10543617ba768759951b6.zip | |
Test case updates for explicit type parameter to the gep operator
llvm-svn: 232187
Diffstat (limited to 'clang/test/CodeGen/c-strings.c')
| -rw-r--r-- | clang/test/CodeGen/c-strings.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGen/c-strings.c b/clang/test/CodeGen/c-strings.c index 71d4ba35f42..588a716a16a 100644 --- a/clang/test/CodeGen/c-strings.c +++ b/clang/test/CodeGen/c-strings.c @@ -7,12 +7,12 @@ // CHECK: @align = global i8 [[ALIGN:[0-9]+]] // ITANIUM: @.str = private unnamed_addr constant [6 x i8] c"hello\00" // MSABI: @"\01??_C@_05CJBACGMB@hello?$AA@" = linkonce_odr unnamed_addr constant [6 x i8] c"hello\00", comdat, align 1 -// ITANIUM: @f1.x = internal global i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0) -// MSABI: @f1.x = internal global i8* getelementptr inbounds ([6 x i8]* @"\01??_C@_05CJBACGMB@hello?$AA@", i32 0, i32 0) +// ITANIUM: @f1.x = internal global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i32 0, i32 0) +// MSABI: @f1.x = internal global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @"\01??_C@_05CJBACGMB@hello?$AA@", i32 0, i32 0) // CHECK: @f2.x = internal global [6 x i8] c"hello\00", align [[ALIGN]] // CHECK: @f3.x = internal global [8 x i8] c"hello\00\00\00", align [[ALIGN]] -// ITANIUM: @f4.x = internal global %struct.s { i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0) } -// MSABI: @f4.x = internal global %struct.s { i8* getelementptr inbounds ([6 x i8]* @"\01??_C@_05CJBACGMB@hello?$AA@", i32 0, i32 0) } +// ITANIUM: @f4.x = internal global %struct.s { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i32 0, i32 0) } +// MSABI: @f4.x = internal global %struct.s { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @"\01??_C@_05CJBACGMB@hello?$AA@", i32 0, i32 0) } // CHECK: @x = global [3 x i8] c"ola", align [[ALIGN]] #if defined(__s390x__) |

