28 lines · plain
1; RUN: llc < %s -mtriple=avr | FileCheck %s2 3; Test case for an assertion error.4;5; Error:6; ```7; Impossible reg-to-reg copy8; UNREACHABLE executed at lib/Target/AVR/AVRInstrInfo.cpp9; ```10;11; This no longer occurs.12 13declare { i16, i1 } @llvm.umul.with.overflow.i16(i16, i16)14 15; CHECK-LABEL: foo16define void @foo() {17entry-block:18 %0 = call { i16, i1 } @llvm.umul.with.overflow.i16(i16 undef, i16 undef)19 %1 = extractvalue { i16, i1 } %0, 120 %2 = icmp eq i1 %1, true21 br i1 %2, label %cond, label %next22 23next: ; preds = %entry-block24 ret void25cond: ; preds = %entry-block26 unreachable27}28