[clang] [HLSL] Add testing for space parameter on global constants (PR #106782)
Damyan Pepper via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 16 11:19:04 PDT 2024
================
@@ -0,0 +1,66 @@
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl -o - -fsyntax-only %s -verify
----------------
damyanp wrote:
This file seems to now mostly be testing non-error cases of specifying a space for registers. I think it'd probably be better to just merge these into the other tests we have.
Specifying a register space isn't some bit special thing, it's part of the normal flow we should consider when validating that, say, `u` type registers work with particular types of resource.
https://github.com/llvm/llvm-project/pull/106782
More information about the cfe-commits
mailing list