blob: e98316576d8a1de0ab11764dfdebcd1a809ad0d5 [file] [log] [blame]
Tanya Lattner6263f942008-02-17 20:02:20 +00001; RUN: llvm-as < %s | llc -march=arm | grep strb
2; RUN: llvm-as < %s | llc -march=arm | grep strh
Rafael Espindolac391d162006-10-23 20:34:27 +00003
Tanya Lattner6263f942008-02-17 20:02:20 +00004define void @f1() {
Rafael Espindolac391d162006-10-23 20:34:27 +00005entry:
Tanya Lattner6263f942008-02-17 20:02:20 +00006 store i8 0, i8* null
7 ret void
Rafael Espindolac391d162006-10-23 20:34:27 +00008}
9
Tanya Lattner6263f942008-02-17 20:02:20 +000010define void @f2() {
Rafael Espindolac391d162006-10-23 20:34:27 +000011entry:
Tanya Lattner6263f942008-02-17 20:02:20 +000012 store i16 0, i16* null
13 ret void
Rafael Espindolac391d162006-10-23 20:34:27 +000014}