1; RUN: llc < %s -march=avr -mattr=avr6 | FileCheck %s 2 3%str_slice = type { i8*, i16 } 4%Machine = type { i16, [0 x i8], i16, [0 x i8], [16 x i8], [0 x i8] } 5 6; CHECK-LABEL: step 7define void @step(%Machine*) { 8 ret void 9} 10 11; CHECK-LABEL: main 12define void @main() { 13start: 14 %machine = alloca %Machine, align 8 15 %v0 = bitcast %Machine* %machine to i8* 16 %v1 = getelementptr inbounds %Machine, %Machine* %machine, i16 0, i32 2 17 %v2 = load i16, i16* %v1, align 2 18 br label %bb2.i5 19 20bb2.i5: 21 %v18 = load volatile i8, i8* inttoptr (i16 77 to i8*), align 1 22 %v19 = icmp sgt i8 %v18, -1 23 br i1 %v19, label %bb2.i5, label %bb.exit6 24 25bb.exit6: 26 %v20 = load volatile i8, i8* inttoptr (i16 78 to i8*), align 2 27 br label %bb7 28 29bb7: 30 call void @step(%Machine* %machine) 31 br label %bb7 32} 33 34