1; RUN: llc -mattr=avr6,sram < %s -march=avr -verify-machineinstrs | FileCheck %s 2 3; CHECK: ld {{r[0-9]+}}, [[PTR:[XYZ]]] 4; CHECK: ldd {{r[0-9]+}}, [[PTR]]+1 5; CHECK: st [[PTR2:[XYZ]]], {{r[0-9]+}} 6; CHECK: std [[PTR2]]+1, {{r[0-9]+}} 7define void @load_store_16(i16* nocapture %ptr) local_unnamed_addr #1 { 8entry: 9 %0 = load i16, i16* %ptr, align 2 10 %add = add i16 %0, 5 11 store i16 %add, i16* %ptr, align 2 12 ret void 13} 14