Displaying 2 results from an estimated 2 matches for "l1001510".
2011 Aug 19
2
[LLVMdev] LLVM ERROR: Cannot select error in simple i128 math?
...g error when running llc
% llc < fxp2.ll
LLVM ERROR: Cannot select: 0xa5302b0: glue = carry_false [ID=7]
on this code:
target triple = "i386-pc-linux-gnu"
define i32 @fxpadd(i32 %cl) {
entry:
%0 = zext i32 %cl to i128
%1 = zext i32 %cl to i128
%2 = add i128 %1, %0
br label %L1001510
L1001510: ; preds = %L13400
%vr1484.5 = trunc i128 %2 to i32
ret i32 %vr1484.5
}
This code was whittled down from a fixed point math test by bugpoint, and further simplified by hand. The problem did not occur in 2.8.
(Removing the trivial branch mak...
2011 Aug 19
0
[LLVMdev] LLVM ERROR: Cannot select error in simple i128 math?
...M ERROR: Cannot select: 0xa5302b0: glue = carry_false [ID=7]
>
> on this code:
>
> target triple = "i386-pc-linux-gnu"
>
> define i32 @fxpadd(i32 %cl) {
> entry:
> %0 = zext i32 %cl to i128
> %1 = zext i32 %cl to i128
> %2 = add i128 %1, %0
> br label %L1001510
>
> L1001510: ; preds = %L13400
> %vr1484.5 = trunc i128 %2 to i32
> ret i32 %vr1484.5
>
> }
>
> This code was whittled down from a fixed point math test by bugpoint, and further simplified by hand. The problem did not occur in 2....