brintos

brintos / llvm-project-archived public Read only

0
0
Text · 889 B · e62d2df Raw
26 lines · plain
1; RUN: llc < %s -mtriple=avr | FileCheck %s2 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 811  %1 = getelementptr inbounds %"fmt::Formatter", ptr %0, i16 0, i32 112  %2 = bitcast ptr %1 to ptr13  %3 = load ptr, ptr %2, align 214  %4 = getelementptr inbounds %"fmt::Formatter", ptr %0, i16 0, i32 1, i32 115  %5 = load ptr, ptr %4, align 216  %6 = getelementptr inbounds ptr, ptr %5, i16 317  %7 = bitcast ptr %6 to ptr18  %8 = load ptr addrspace(1), ptr %7, align 219  %9 = tail call i8 %8(ptr nonnull %3, ptr noalias nonnull readonly @str.1b, i16 15)20  unreachable21}22 23declare i32 @rust_eh_personality(...) unnamed_addr24 25attributes #0 = { uwtable }26