Hello,

the attached patch introduces the `convergent` attribute.

It is meant to be lowered into the LLVM `convergent` attribute, to restrict 
optimizations of attributed functions — e.g. you can attach convergent to 
OpenCL’s barrier, and thus prevent a call site being moved to another position 
which is not control equivalent. 

Bye,
Ettore Speziale

Attachment: convergent.diff
Description: Binary data


--------------------------------------------------
Ettore Speziale — Compiler Engineer
speziale.ett...@gmail.com
espezi...@apple.com
--------------------------------------------------
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to