source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/Windows/read-only-data.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 426 bytes
Line 
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
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], [7 x i8]* @.str, i32 0, i32 0))
10  ret void
11}
12
13; CHECK: .section .rdata,"dr"
14; CHECK-NOT: .section ".rodata.str1.1"
15
Note: See TracBrowser for help on using the repository browser.