[llvm-commits] [llvm-gcc-4.2] r73532 - in /llvm-gcc-4.2/trunk/gcc/config/arm: arm.h llvm-arm-target.h

Evan Cheng evan.cheng at apple.com
Wed Jun 17 14:50:32 PDT 2009


Looks like some passes are confused about the new calling convention  
info? I see something like this:

define cc66 i32 @main(i32 %argc, i8** %argv) nounwind {
             ^^^^

Evan

On Jun 17, 2009, at 2:22 PM, Anton Korobeynikov wrote:

> Hi Bob
>
>> This patch is causing a number of regressions for ARM.  The compiler
>> runs OK but the results are not correct.  For example, the
>> SingleSource/Benchmarks/Shootout/strcat.c test ends up with most of
>> its code incorrectly optimized away.  Both llc and cbe tests fail,  
>> but
>> it passes without optimization.  Please investigate.  I'm going to
>> revert this change for now.
> That's pretty strange since calling convention should not influence
> optimizers at all. Could you please provide me the LLVM IR with and
> without optimizations?
>
> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State  
> University
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list