[LLVMdev] Optimizer to remove duplicate loads?
edA-qa mort-ora-y
eda-qa at disemia.com
Sun Feb 24 06:20:18 PST 2013
On 24/02/13 09:02, Duncan Sands wrote:
> in order to do this, the optimizers need to know that the call to
> @trace_integer does not modify the contents of @pt. Is it logically
> possible for them to deduce this? If not, no optimizer can do what
> you want.
Yeah, I thought about that and then realized in this context they could
not (it's an external function). Is there some attribute I can mark the
functions with however that would allow the optimizers to understand
it's safe not to reload?
--
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130224/00de6c27/attachment.sig>
More information about the llvm-dev
mailing list