Displaying 1 result from an estimated 1 matches for "i0000610".
2010 Nov 17
3
[LLVMdev] LLVM BUG for x86 code generation ?
...llvmfails.s -o llvmfails
./llvmfails
As far as I can tell code generation for select instruction is not correct, It seems that sign-extension propagation convert a sign-extension into a zero-extend.
Routine to look at is:
@result = internal global i32 0
define void @test() {
L.entry:
%__.I0000610 = alloca i32
call void @init()
%0 = load i32* @t
%1 = icmp eq i32 %0, 0
%2 = zext i1 %1 to i32
%3 = trunc i32 %2 to i1
%4 = load i8* @uc
%5 = zext i8 %4 to i32
%6 = load i8* @sc
%7 = sext i8 %6 to i32
%8 = select i1 %...