[clang] [DXIL] Don't generate per-variable guards for DirectX (PR #106096)

David Peixotto via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 28 09:15:47 PDT 2024


================
@@ -94,6 +94,13 @@ class LLVM_LIBRARY_VISIBILITY DirectXTargetInfo : public TargetInfo {
   BuiltinVaListKind getBuiltinVaListKind() const override {
     return TargetInfo::VoidPtrBuiltinVaList;
   }
+
+  void adjust(DiagnosticsEngine &Diags, LangOptions &Opts) override {
----------------
dmpots wrote:

Should we do something similar for SPIR-V?

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


More information about the cfe-commits mailing list