[llvm-dev] RFC: Removal of noduplicate attribute

Arsenault, Matthew via llvm-dev llvm-dev at lists.llvm.org
Fri Oct 25 16:37:39 PDT 2019


Hi,

Can the noduplicate attribute be deleted? It was originally added to satisfy the constraints of OpenCL barriers, but it didn’t really solve this problem. Convergent is strictly better and more accurately captures the real restriction. Is anyone still using noduplicate or really needs the semantics of noduplicate? There are a number of passes that now respect convergent, but do not try to handle noduplicate properly. There is a maintenance cost to keeping it around, and does require work to keep it working as advertised.

A related question is if it’s OK to recycle the attribute encoding bit, or if this will be a problematic bitcode compatibility change.

-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191025/c9fc5d3d/attachment.html>


More information about the llvm-dev mailing list