renato.golin at linaro.org
Tue Jul 23 06:32:06 PDT 2013
On 23 July 2013 12:34, reed kotler <rkotler at mips.com> wrote:
> How do I get these two paths to generate the same code?
First, make sure that it's really -Os that is generating the difference by
calling clang -v -Os, and explicitly calling all flags apart from -Os and
then compare the results. Try to mimic as many parameters in llc as
possible, with llc specific flags.
I've seen this happen when lowering to specific ARM cores and if I didn't
use the same relevant flags on both sides, the final code would be broken.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev