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

Anton Korobeynikov anton at korobeynikov.info
Wed Jun 17 14:56:05 PDT 2009


Hello, Evan

> Looks like some passes are confused about the new calling convention
> info?
No. The actualy problem is IRBuilder. It does not honour calling
convention during creation of CallInst. Thus, for example, strlen
declared with apcs calling conv is being called with C calling conv
(after libcall simplification), instcombine turned such call into
undef and later simplifycfg cleans all stuff out.

--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list