[llvm] [DirectX] Add Range Overlap validation (PR #152229)
Finn Plummer via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 8 09:30:03 PDT 2025
================
@@ -0,0 +1,14 @@
+; RUN: not opt -S -passes='dxil-post-optimization-validation' -mtriple=dxil-pc-shadermodel6.6-compute %s 2>&1 | FileCheck %s
+; CHECK: error: register UAV (space=1, register=3) is overlapping with register UAV (space=1, register=0), verify your root signature definition.
----------------
inbelic wrote:
This error message would seemingly indicate that they shouldn't have overlapped? Maybe something like:
`resource UAV(space=1, registers=[3,3]) is overlapping with resource UAV (space=1,registers=[0,3]), ...`?
https://github.com/llvm/llvm-project/pull/152229
More information about the llvm-commits
mailing list