[llvm-branch-commits] [DirectX] Lower `@llvm.dx.typedBufferLoad` to DXIL ops (PR #104252)
Damyan Pepper via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Sep 9 11:51:49 PDT 2024
================
@@ -450,6 +462,10 @@ CallInst *DXILOpBuilder::createOp(dxil::OpCode OpCode, ArrayRef<Value *> Args,
return *Result;
}
+StructType *DXILOpBuilder::getResRetType(Type *ElementTy) {
+ return ::getResRetType(ElementTy);
----------------
damyanp wrote:
Trying to understand this pattern...it being a non-static member function would strongly imply to me as the caller that this function somehow depends on the internal state of DXILOpBuilder. But it doesn't. Do you think it will in the future? Or is there some other design consideration in play?
https://github.com/llvm/llvm-project/pull/104252
More information about the llvm-branch-commits
mailing list