[clang] [clang][Driver]Fix opencl -cl-fast-relaxed-math flag to have similar behaviour as ffast-math (PR #208709)

Wenju He via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 24 04:35:05 PDT 2026


wenju-he wrote:

> Raw CC1 invocations don't have an expectation of stability?

Yes, but -ffast-math still has old behavior in cc1. This PR only changes -cl-fast-relaxed-math.
If everything is moved to driver, it will be very difficult for cc1 users that embed clang as frontend.

https://github.com/llvm/llvm-project/pull/208709


More information about the cfe-commits mailing list