[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) {
+ std::string TTStr = M.getTargetTriple();
+ std::string Error;
+ auto Target = TargetRegistry::lookupTarget(TTStr, Error);
----------------
bharadwajy wrote:
> We should already be in DirectX backend now. Is it possible to have illegal TargetTriple?
Deleted the redundant lookup and check in in-lined functionality.
https://github.com/llvm/llvm-project/pull/97593
More information about the llvm-commits
mailing list