You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
426 B

; RUN: llc -mtriple thumbv7-windows -filetype asm -o - %s | FileCheck %s
@.str = private unnamed_addr constant [7 x i8] c"string\00", align 1
declare arm_aapcs_vfpcc void @callee(i8*)
define arm_aapcs_vfpcc void @function() {
entry:
call arm_aapcs_vfpcc void @callee(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i32 0, i32 0))
ret void
}
; CHECK: .section .rdata,"dr"
; CHECK-NOT: .section ".rodata.str1.1"