[clang] [Clang] [Driver] Ensure `-fms-volatile` is set for x86 for `*-windows-msvc` triple on non cl driver modes (PR #107509)

via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 6 05:40:50 PDT 2024


zmodem wrote:

> Similar reasoning as this PR: #107177

I think this is reasonable.

@nico mentioned that he found the other PR a bit surprising though. It's not obvious which features that should be gated on the driver mode or target flag, but we do enable MS compatibility extensions based on the windows-msvc target, and I think it makes sense to include the aliasing and volatile behavior along those lines.

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


More information about the cfe-commits mailing list