Saleem Abdulrasool | 46fed30 | 2014-05-17 04:28:08 +0000 | [diff] [blame^] | 1 | ; RUN: llc -mtriple thumbv7-windows -filetype asm -o - %s | FileCheck %s |
2 | |||||
3 | @.str = private unnamed_addr constant [7 x i8] c"string\00", align 1 | ||||
4 | |||||
5 | declare arm_aapcs_vfpcc void @callee(i8*) | ||||
6 | |||||
7 | define arm_aapcs_vfpcc void @function() { | ||||
8 | entry: | ||||
9 | call arm_aapcs_vfpcc void @callee(i8* getelementptr inbounds ([7 x i8]* @.str, i32 0, i32 0)) | ||||
10 | ret void | ||||
11 | } | ||||
12 | |||||
13 | ; CHECK: .section ".rdata","rd" | ||||
14 | ; CHECK-NOT: .section ".rodata.str1.1" | ||||
15 |