33 lines · plain
1; RUN: llc -mtriple=arm-none-eabi -mcpu=cortex-m85 < %s | FileCheck --check-prefixes=CHECK,ALIGN-64,ALIGN-CS-16 %s2; RUN: llc -mtriple=arm-none-eabi -mcpu=cortex-m23 < %s | FileCheck --check-prefixes=CHECK,ALIGN-16,ALIGN-CS-16 %s3 4; RUN: llc -mtriple=arm-none-eabi -mcpu=cortex-a5 < %s | FileCheck --check-prefixes=CHECK,ALIGN-32,ALIGN-CS-32 %s5; RUN: llc -mtriple=arm-none-eabi -mcpu=cortex-m33 < %s | FileCheck --check-prefixes=CHECK,ALIGN-32,ALIGN-CS-16 %s6; RUN: llc -mtriple=arm-none-eabi -mcpu=cortex-m55 < %s | FileCheck --check-prefixes=CHECK,ALIGN-32,ALIGN-CS-16 %s7; RUN: llc -mtriple=arm-none-eabi -mcpu=cortex-m7 < %s | FileCheck --check-prefixes=CHECK,ALIGN-64,ALIGN-CS-16 %s8 9; CHECK-LABEL: test10; ALIGN-16: .p2align 111; ALIGN-32: .p2align 212; ALIGN-64: .p2align 313 14define void @test() {15 ret void16}17 18; CHECK-LABEL: test_optsize19; ALIGN-CS-16: .p2align 120; ALIGN-CS-32: .p2align 221 22define void @test_optsize() optsize {23 ret void24}25 26; CHECK-LABEL: test_minsize27; ALIGN-CS-16: .p2align 128; ALIGN-CS-32: .p2align 229 30define void @test_minsize() minsize {31 ret void32}33