blob: 0ccb5ededff2765972c92966daa35bc7d7b1a68c [file] [log] [blame]
Saleem Abdulrasool46fed302014-05-17 04:28:08 +00001; 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
5declare arm_aapcs_vfpcc void @callee(i8*)
6
7define arm_aapcs_vfpcc void @function() {
8entry:
9 call arm_aapcs_vfpcc void @callee(i8* getelementptr inbounds ([7 x i8]* @.str, i32 0, i32 0))
10 ret void
11}
12
Saleem Abdulrasool24767592014-05-17 04:32:38 +000013; CHECK: .section .rdata,"rd"
Saleem Abdulrasool46fed302014-05-17 04:28:08 +000014; CHECK-NOT: .section ".rodata.str1.1"
15