<div dir="ltr">Hello James,<br><br>Thanks for your reply.<br><br>My apologies that I mark the function 'wait' with noduplicate in the above example. In fact I didn't use __attribute__((noduplicate)) with function 'wait' in my implementation so there is no bug in LLVM. I would dig up the original discussions between you and Chris Lattner for more context.<br><br>Thanks.<br></div>