[llvm-commits] [llvm] r123034 - in /llvm/trunk: lib/Transforms/InstCombine/InstCombineSelect.cpp test/Transforms/InstCombine/select.ll

Frits van Bommel fvbommel at gmail.com
Sat Jan 8 02:56:34 PST 2011


On Sat, Jan 8, 2011 at 2:44 AM, Benjamin Kramer
<benny.kra at googlemail.com> wrote:
> On 07.01.2011, at 22:33, Tobias Grosser wrote:
>> +          Constant *sextRHS = ConstantExpr::getSExt(AdjustedRHS,
>> +                                                    SI.getType());
>
> This line (ConstantExpr::getSExt) hits an assertion failure in some files in the test suite

> And the offending IR is:
>  %175 = sitofp i32 %j.3 to double
>  %174 = icmp slt i32 %j.3, 2
>  %176 = select i1 %174, double 2.000000e+00, double %175

Fixed in r123061.




More information about the llvm-commits mailing list