[llvm] [DirectX] Add DXIL_MODULE_FLAG for ShaderFlags. (PR #83217)

Chris B via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 5 07:59:50 PST 2024


================
@@ -28,7 +28,7 @@ using namespace llvm::dxil;
 namespace {
 class DXContainerGlobals : public llvm::ModulePass {
 
-  GlobalVariable *getShaderFlags(Module &M);
+  GlobalVariable *getShaderFeatureInfo(Module &M);
----------------
llvm-beanz wrote:

"feature info" doesn't mean anything to me when I read the code. The GlobalVaraible returned here, and the `uint64_t` returned in other places they aren't a "feature info". They are "feature flags".

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


More information about the llvm-commits mailing list