[PATCH] Clarify wording in the LangRef around !invariant.load
Sanjoy Das
sanjoy at playingwithpointers.com
Mon Nov 24 00:34:08 PST 2014
> I would actually be fine with more conservative semantics - the load is only invariant with respect to its original uses - because it won't affect optimization in practice.
I was under the impression that one of motivations for invariant loads
was to be able to hoist them out of arbitrary control flow.
Thanks,
-- Sanjoy
More information about the llvm-commits
mailing list