[InstCombine] Signed saturation patterns
[llvm-core.git] / test / CodeGen / ARM / execute-only-section.ll
blob8c7eb0c43767bba7e4c5d6f4954f56d1c358f38d
1 ; RUN: llc < %s -mtriple=thumbv7m -mattr=+execute-only %s -o - | FileCheck %s
2 ; RUN: llc < %s -mtriple=thumbv8m.base -mattr=+execute-only %s -o - | FileCheck %s
3 ; RUN: llc < %s -mtriple=thumbv8m.base -mcpu=cortex-m23 -mattr=+execute-only %s -o - | FileCheck %s
4 ; RUN: llc < %s -mtriple=thumbv8m.main -mattr=+execute-only %s -o - | FileCheck %s
6 ; CHECK:     .section .text,"axy",%progbits,unique,0
7 ; CHECK-NOT: .section
8 ; CHECK-NOT: .text
9 ; CHECK:     .globl test_SectionForGlobal
10 ; CHECK:     .type test_SectionForGlobal,%function
11 define void @test_SectionForGlobal() {
12 entry:
13   ret void
16 ; CHECK:     .section .test,"axy",%progbits
17 ; CHECK-NOT: .section
18 ; CHECK-NOT: .text
19 ; CHECK:     .globl test_ExplicitSectionForGlobal
20 ; CHECK:     .type test_ExplicitSectionForGlobal,%function
21 define void @test_ExplicitSectionForGlobal() section ".test" {
22 entry:
23   ret void