blob: c387d1d5137c438fc5934ea837d2a6c46c9748f2 [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:
David Blaikief72d05b2015-03-13 18:20:45 +00009 call arm_aapcs_vfpcc void @callee(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i32 0, i32 0))
Saleem Abdulrasool46fed302014-05-17 04:28:08 +000010 ret void
11}
12
David Majnemer5614ea92015-02-07 08:26:40 +000013; CHECK: .section .rdata,"dr"
Saleem Abdulrasool46fed302014-05-17 04:28:08 +000014; CHECK-NOT: .section ".rodata.str1.1"
15