[llvm-dev] [RFC] IR-level Region Annotations

Wael Yehia via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 17 15:36:59 PST 2017


Hi. Regarding the token approach, I've read some documentation (review D11861, EH in llvm, and Reid and David's presentation) but couldn't answer the following question.Does the intrinsic or the instruction returning a token type object act as a code motion barrier? In other words, does it prevent other operations from being reordered with it?If the answer is no, then does it mean the intrinsic has to be marked with the convergent property to achieve the code motion barrier effect?If yes, can someone explain how is that achieved in llvm?
Greatly appreciated. Thanks.
Wael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170117/5ecd48ad/attachment.html>


More information about the llvm-dev mailing list