[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:57:02 PDT 2024
================
@@ -72,10 +75,39 @@ static SmallVector<Value *> argVectorFlatten(CallInst *Orig,
return NewOperands;
}
+static VersionTuple getShaderModelVer(Module &M) {
+ std::string TTStr = M.getTargetTriple();
+ std::string Error;
+ auto Target = TargetRegistry::lookupTarget(TTStr, Error);
----------------
python3kgae wrote:
We should already be in DirectX backend now.
Is it possible to have illegal TargetTriple?
https://github.com/llvm/llvm-project/pull/97593
More information about the llvm-commits
mailing list