[llvm] [DirectX backend] emits metadata for DXIL version. (PR #88350)

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Tue May 7 13:50:24 PDT 2024


================
@@ -429,6 +429,10 @@ class Triple {
   /// (SubArch).  This should only be called with Vulkan SPIR-V triples.
   VersionTuple getVulkanVersion() const;
 
+  /// Parse the DXIL version number from the OSVersion and DXIL version
+  /// (SubArch).  This should only be called with DXIL triples.
+  VersionTuple getDXILVersion() const;
----------------
bogner wrote:

This comment doesn't seem accurate, given that `getDXILVersion` doesn't currently use the OS version

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


More information about the llvm-commits mailing list