22 lines · plain
1; RUN: llc < %s -mtriple=avr | FileCheck %s2 3; Causes an assertion error4; Assertion failed: (Lo.getValueType() == TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) &&5; Hi.getValueType() == Lo.getValueType() &&6; "Invalid type for expanded integer"),7; function SetExpandedInteger8; file lib/CodeGen/SelectionDAG/LegalizeTypes.cpp9 10; CHECK-LABEL: foo11define void @foo(i16 %a) {12ifcont:13 %cmp_result = icmp eq i16 %a, 25514 %bool_result = uitofp i1 %cmp_result to double15 %result = fcmp one double 0.000000e+00, %bool_result16 br i1 %result, label %then, label %else17then:18 ret void19else:20 ret void21}22