[llvm] [DXIL] Add constraint specification and backend implementation of DXIL Ops (PR #97593)

Xiang Li via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 3 08:58:29 PDT 2024


================
@@ -72,10 +75,39 @@ static SmallVector<Value *> argVectorFlatten(CallInst *Orig,
   return NewOperands;
 }
 
+static VersionTuple getShaderModelVer(Module &M) {
----------------
python3kgae wrote:

Both getShaderModelVer and getShaderKind will be used in many places, could we have them shared instead of a static function in DXILOpLowering.cpp?

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


More information about the llvm-commits mailing list