[LLVMdev] Large integers

Mario Schwalbe mario at se.inf.tu-dresden.de
Sun Jul 8 05:10:58 PDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Am 07.07.2012 21:39, schrieb Rotem, Nadav:
> The Scalar Replacement of Aggregates pass (-scalarrepl) generates these big integers. We recently added a constructor parameter to limit the size of the wide integer loads.

Is it the Threshold parameter or are you referring to LLVM trunk?

Besides that I
(a) made sure both scalar replacement passes aren't added to the pass manager, and
(b) put a debug message into SROA::runOnFunction(), SROA::performScalarRepl(),
    and SROA::performPromotion() (in ScalarReplAggregates.cpp) to check
    whether one of them is being called. Definitely not.

But I still get the same result. So is there maybe any other pass that directly
creates such code and/or indirectly causes some scalar replacement code to be invoked.

Thanks and ciao,
Mario
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJP+XjCAAoJEDv0fP6GapNtDEwH/1VrTeKbtcC1P4ORTq1d6HfA
vkqolZkoqsBri//V3nreI+zSJ/esD3xueErtyJ/+4DndqqEy9rVpRUf95bk6LT2K
g+aR/moXcjROsFqdaLVDVejxEvhI1+wWvDOOP97Yg1wTJQUBmRHPRdE5cdNtoOR+
Wm/4fg/ggQ3FP3/7MwfOirUdu17XDEiiyCYrtYPtFlBSWOhjP3qVvX3tmMGjU+Wr
/z3/f2a7gUQomcaXITWlKzTL3S0jt2WXD+rO74Lc9LSusF6+XjBrYcN7P+6qB0cp
UFJjxhthRhNKMY115gqoDGIULtgV+z5+HrFjkFMiGFxmwVt6aNXqfCXOIspj9lo=
=ou1y
-----END PGP SIGNATURE-----



More information about the llvm-dev mailing list