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