<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1484694384976_9332" dir="ltr">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.</div><div id="yui_3_16_0_ym19_1_1484694384976_9332" dir="ltr">Does the intrinsic or the instruction returning a <i id="yui_3_16_0_ym19_1_1484694384976_33732">token</i> type object act as a code motion barrier? In other words, does it prevent other operations from being reordered with it?</div><div id="yui_3_16_0_ym19_1_1484694384976_9332" dir="ltr">If the answer is no, then does it mean the intrinsic has to be marked with the <i>convergent</i> property to achieve the code motion barrier effect?</div><div id="yui_3_16_0_ym19_1_1484694384976_9332" dir="ltr">If yes, can someone explain how is that achieved in llvm?<br>Greatly appreciated. Thanks.</div><div id="yui_3_16_0_ym19_1_1484694384976_9332" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1484694384976_9332" dir="ltr">Wael</div></div></body></html>