[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:52:05 PDT 2025
================
@@ -3,7 +3,7 @@
target triple = "dxil-unknown-shadermodel6.0-compute"
-; CHECK: error: Invalid value for MaxLOD: 0
+; CHECK: error: Invalid value for MaxLOD: nan
----------------
joaosaffran wrote:
It was always supposed to be nan, previously the error message converted `nan` into a string. Now, with the error classes, I can use errs() output stream to format those values when showing errors to the user. So, this changed occurred due to the change into custom Error Classes
https://github.com/llvm/llvm-project/pull/149232
More information about the llvm-branch-commits
mailing list