1; RUN: llc < %s -mtriple=avr | FileCheck %s 2 3%"fmt::Formatter" = type { i32, { ptr, ptr } } 4 5@str.1b = external constant [0 x i8] 6 7define void @"TryFromIntError::Debug"(ptr dereferenceable(32)) unnamed_addr #0 personality ptr addrspace(1) @rust_eh_personality { 8; CHECK-LABEL: "TryFromIntError::Debug" 9start: 10 %builder = alloca i8, align 8 11 %1 = getelementptr inbounds %"fmt::Formatter", ptr %0, i16 0, i32 1 12 %2 = bitcast ptr %1 to ptr 13 %3 = load ptr, ptr %2, align 2 14 %4 = getelementptr inbounds %"fmt::Formatter", ptr %0, i16 0, i32 1, i32 1 15 %5 = load ptr, ptr %4, align 2 16 %6 = getelementptr inbounds ptr, ptr %5, i16 3 17 %7 = bitcast ptr %6 to ptr 18 %8 = load ptr addrspace(1), ptr %7, align 2 19 %9 = tail call i8 %8(ptr nonnull %3, ptr noalias nonnull readonly @str.1b, i16 15) 20 unreachable 21} 22 23declare i32 @rust_eh_personality(...) unnamed_addr 24 25attributes #0 = { uwtable } 26