[llvm] [DirectX][NFC] Change specification of overload types and attribute in DXIL.td (PR #81184)

David Peixotto via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 12 09:25:41 PST 2024


================
@@ -34,12 +35,42 @@ def BinaryUintCategory : DXILOpCategory<"Binary uint">;
 def UnaryFloatCategory : DXILOpCategory<"Unary float">;
 def ComputeIDCategory : DXILOpCategory<"Compute/Mesh/Amplification shader">;
 
+// ValueTypes specific to DXIL
+// Define Overload value type as an entity with no size and an arbitrary value
+// of 1024 - assuming that all currently defined values are less than 1024
----------------
dmpots wrote:

What happens if LLVM changes to have a value >= 1024? Is it going to break in a easily recognizable way that is obvious to fix? How close are we to that limit?

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


More information about the llvm-commits mailing list