[llvm] [DXIL] Add constraint specification and backend implementation of DXIL Ops (PR #97593)
S. Bharadwaj Yadavalli via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 5 13:24:34 PDT 2024
================
@@ -72,10 +75,39 @@ static SmallVector<Value *> argVectorFlatten(CallInst *Orig,
return NewOperands;
}
+static VersionTuple getShaderModelVer(Module &M) {
----------------
bharadwajy wrote:
> Both getShaderModelVer and getShaderKind will be used in many places, could we have them shared instead of a static function in DXILOpLowering.cpp?
Deleted the functions as each one is called once and in-lined the functionality.
https://github.com/llvm/llvm-project/pull/97593
More information about the llvm-commits
mailing list