llvm-project
f6a3cd54 - [clang] ``noconvergent`` does not affect calls to convergent functions (#132701)

Commit
297 days ago
[clang] ``noconvergent`` does not affect calls to convergent functions (#132701) When placed on a function, the ``clang::noconvergent`` attribute ensures that the function is not assumed to be convergent. But the same attribute has no effect on function calls. A call is convergent if the callee is convergent. This is based on the fact that in LLVM, a call always inherits all the attributes of the callee. Only ``convergent`` is an attribute in LLVM IR, and there is no equivalent of ``clang::noconvergent``.
Author
Parents
Loading