llvm-project/llvm/test/CodeGen/ARM/mem.ll

15 lines
252 B
LLVM
Raw Normal View History

2008-02-18 04:02:20 +08:00
; RUN: llvm-as < %s | llc -march=arm | grep strb
; RUN: llvm-as < %s | llc -march=arm | grep strh
2008-02-18 04:02:20 +08:00
define void @f1() {
entry:
2008-02-18 04:02:20 +08:00
store i8 0, i8* null
ret void
}
2008-02-18 04:02:20 +08:00
define void @f2() {
entry:
2008-02-18 04:02:20 +08:00
store i16 0, i16* null
ret void
}