[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
Wed Aug 14 15:32:41 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:

why does this need to be a lambda?

https://github.com/llvm/llvm-project/pull/104253


More information about the llvm-branch-commits mailing list