HomePhabricator

clang: Add -fconvergent-functions flag

Authored by arsenm on Oct 26 2019, 5:15 PM.

Description

clang: Add -fconvergent-functions flag

The CUDA builtin library is apparently compiled in C++ mode, so the
assumption of convergent needs to be made in a typically non-SPMD
language. The functions in the library should still be assumed
convergent. Currently they are not, which is potentially incorrect and
this happens to work after the library is linked.

Details

Committed
arsenmNov 19 2019, 9:50 AM
Parents
rGce5de93e838f: [ELF] Disallow out-of-range section group indices after D70146
Branches
Unknown
Tags
Unknown