b7a519299fda274a6ae3082c08ca6cf6a404784d
[oota-llvm.git] / test / CodeGen / XCore / unaligned_store.ll
1 ; RUN: llvm-as < %s | llc -march=xcore > %t1.s
2 ; RUN: grep "bl __misaligned_store" %t1.s | count 1
3
4 ; Byte aligned store. Expands to call to __misaligned_store.
5 define void @align1(i32* %p, i32 %val) nounwind {
6 entry:
7         store i32 %val, i32* %p, align 1
8         ret void
9 }