; RUN: llc < %s -mtriple=armv7-apple-darwin | FileCheck %s ; Make sure that we merge the consecutive load/store sequence below and use a ; word (16 bit) instead of a byte copy. ; CHECK: MergeLoadStoreBaseIndexOffset ; CHECK: ldrh [[REG:r[0-9]+]], [{{.*}}] ; CHECK: strh [[REG]], [r1], #2 define void @MergeLoadStoreBaseIndexOffset(i32* %a, i8* %b, i8* %c, i32 %n) { br label %1 ;