Files
clang-p2996/clang/lib/Frontend/CompilerInvocation.cpp
Joseph Huber f665760162 [Clang] Accept and forward -fconvergent-functions in the driver
Currently the `-fconvergent-functions` option is primarily used by GPU
toolchains to enforce convergent operations in line with the semantics.
This option previously was only supported via `-Xclang` and would show
up as unused if passed to the driver. This patch allows the driver to
forward it. This is mostly useful for users wishing to target GPU
toolchains directly via `--target=` without an offloading runtime.

Reviewed By: JonChesterfield, MaskRay

Differential Revision: https://reviews.llvm.org/D149019
2023-04-24 09:11:21 -05:00

182 KiB