[LLVMdev] llvm-gcc promotes i32 mul to i64 inside __muldi3

Sergey Yakoushkin sergey.yakoushkin at gmail.com
Wed Mar 17 14:57:17 PDT 2010


Thanks, yes, I'm facing the same issue.

Hm... seems there are no simple fixes.
I have to do one more i64 mul implementation to workaround aggressive
optimizations.
Is that correct? Is this the only way?

Can I disable only one particular pass which does this promotion from
i32 to i64 using some LLVM-GCC option?

Are there other libgcc functions affected by this optimization?

Regards,
Sergey Y.



More information about the llvm-dev mailing list