aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/mem.ll
blob: 6a0f0e1716753438adfe6909d41186cabbc93975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm &&
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep strb &&
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep strh

void %f1() {
entry:
	store ubyte 0, ubyte* null
	ret void
}

void %f2() {
entry:
	store short 0, short* null
	ret void
}