• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=xcore | FileCheck %s
2
3; Byte aligned store.
4; CHECK-LABEL: align1:
5; CHECK: bl __misaligned_store
6define void @align1(i32* %p, i32 %val) nounwind {
7entry:
8	store i32 %val, i32* %p, align 1
9	ret void
10}
11
12; Half word aligned store.
13; CHECK: align2
14; CHECK: st16
15; CHECK: st16
16define void @align2(i32* %p, i32 %val) nounwind {
17entry:
18	store i32 %val, i32* %p, align 2
19	ret void
20}
21