[llvm-branch-commits] [DirectX] Lower `@llvm.dx.typedBufferStore` to DXIL ops (PR #104253)

Damyan Pepper via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Sep 9 13:29:35 PDT 2024


================
@@ -388,10 +432,13 @@ class OpLowerer {
       case Intrinsic::dx_typedBufferLoad:
         lowerTypedBufferLoad(F);
         break;
+      case Intrinsic::dx_typedBufferStore:
+        lowerTypedBufferStore(F);
+        break;
       }
       Updated = true;
     }
-    if (Updated)
+    if (Updated && !HasErrors)
----------------
damyanp wrote:

So dx_typedBufferLoad cannot fail?

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


More information about the llvm-branch-commits mailing list