; This test case is reduced from llvmAsmParser.cpp; The optimizer should not remove the cast here.; RUN: opt < %s -instcombine -S | \; RUN: grep sext.*i32definei1@test(i16%X){%A=sexti16%Xtoi32; <i32> [#uses=1]%B=icmpugti32%A,1330; <i1> [#uses=1]reti1%B}