[llvm-branch-commits] [llvm] [DirectX] Error handling improve in root signature metadata Parser (PR #149232)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jul 22 09:50:12 PDT 2025


================
@@ -3,7 +3,7 @@
 target triple = "dxil-unknown-shadermodel6.0-compute"
 
 
-; CHECK: error:  Invalid Root Signature Element: Invalid 
+; CHECK: error:  Invalid Root Signature Element:Invalid 
----------------
joaosaffran wrote:

This PR replaces the previous hard coded Error Messages with some custom Error Classes, in this example, the class creating this error is `RootSignatureValidationError`. This change reviewed the space inconsistency I introduced when writing these messages. Using the classes fix this, and therefore, requires that some tests update the error messages.

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


More information about the llvm-branch-commits mailing list