[LLVMdev] "make check" failures: leaq in fold-mul-lohi.ll, stride-nine-with-base-reg.ll, stride-reuse.ll

Dan Gohman gohman at apple.com
Tue Feb 12 10:10:02 PST 2008


Hi Evan,

In -relocation-model=static mode, those tests are now getting
code like this

        leaq    A, %rsi
        movss   %xmm0, (%rsi,%rdx,4)

instead of this:

        movss   %xmm0, A(,%rdx,4)

This is specifically what these tests were written to catch :-).
Running them with -relocation-model=pic is hiding the real bug.

Dan

On Feb 11, 2008, at 11:22 PM, Evan Cheng wrote:

> Fixed. Thanks.
>
> Evan
>
> On Feb 11, 2008, at 2:35 AM, Duncan Sands wrote:
>
>> I'm seeing the following failures with "make check" (x86-32 linux):
>>
>> FAIL: test/CodeGen/X86/fold-mul-lohi.ll
>> Failed with exit(1) at line 2
>> while running: llvm-as < test/CodeGen/X86/fold-mul-lohi.ll | llc -
>> march=x86-64 | not grep lea
>>       leaq    B, %rsi
>>       leaq    A, %r8
>>       leaq    P, %rsi
>> child process exited abnormally
>> FAIL: test/CodeGen/X86/stride-nine-with-base-reg.ll
>> Failed with exit(1) at line 2
>> while running: llvm-as < test/CodeGen/X86/stride-nine-with-base-
>> reg.ll | llc -march=x86-64 | not grep lea
>>       leaq    B, %rdx
>>       leaq    A, %r8
>>       leaq    P, %rdx
>> child process exited abnormally
>> FAIL: test/CodeGen/X86/stride-reuse.ll
>> Failed with exit(1) at line 2
>> while running: llvm-as < test/CodeGen/X86/stride-reuse.ll | llc -
>> march=x86-64 | not grep lea
>>       leaq    B, %rsi
>>       leaq    A, %rsi
>>       leaq    P, %rsi
>> child process exited abnormally
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list