1 ; RUN: llc < %s -march=avr -mattr=avr6 | FileCheck %s
3 %str_slice = type { ptr, i16 }
4 %Machine = type { i16, [0 x i8], i16, [0 x i8], [16 x i8], [0 x i8] }
7 define void @step(ptr) {
14 %machine = alloca %Machine, align 8
15 %v0 = bitcast ptr %machine to ptr
16 %v1 = getelementptr inbounds %Machine, ptr %machine, i16 0, i32 2
17 %v2 = load i16, ptr %v1, align 2
21 %v18 = load volatile i8, ptr inttoptr (i16 77 to ptr), align 1
22 %v19 = icmp sgt i8 %v18, -1
23 br i1 %v19, label %bb2.i5, label %bb.exit6
26 %v20 = load volatile i8, ptr inttoptr (i16 78 to ptr), align 2
30 call void @step(ptr %machine)