1 ; RUN: llc < %s -march=avr | FileCheck %s
3 ; Causes an assertion error
4 ; Assertion failed: (Lo.getValueType() == TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) &&
5 ; Hi.getValueType() == Lo.getValueType() &&
6 ; "Invalid type for expanded integer"),
7 ; function SetExpandedInteger
8 ; file lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
11 define void @foo(i16 %a) {
13 %cmp_result = icmp eq i16 %a, 255
14 %bool_result = uitofp i1 %cmp_result to double
15 %result = fcmp one double 0.000000e+00, %bool_result
16 br i1 %result, label %then, label %else