[llvm-branch-commits] [DirectX] Lower `@llvm.dx.typedBufferStore` to DXIL ops (PR #104253)
Farzon Lotfi via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Sep 9 17:29:05 PDT 2024
================
@@ -289,6 +289,43 @@ class OpLowerer {
});
}
+ void lowerTypedBufferStore(Function &F) {
+ IRBuilder<> &IRB = OpBuilder.getIRB();
+ Type *Int8Ty = IRB.getInt8Ty();
+ Type *Int32Ty = IRB.getInt32Ty();
+
+ replaceFunction(F, [&](CallInst *CI) -> Error {
----------------
farzonl wrote:
It would help with clarity if `OpLowerer::replaceFunction` and the specialized replace function behaviors had different names.
https://github.com/llvm/llvm-project/pull/104253
More information about the llvm-branch-commits
mailing list