[llvm-branch-commits] [DirectX] Lower `@llvm.dx.typedBufferStore` to DXIL ops (PR #104253)
Helena Kotas via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Aug 19 21:08:20 PDT 2024
================
@@ -0,0 +1,34 @@
+; We use llc for this test so that we don't abort after the first error.
+; RUN: not llc %s -o /dev/null 2>&1 | FileCheck %s
+
+target triple = "dxil-pc-shadermodel6.6-compute"
+
+; CHECK: error:
+; CHECK-SAME: in function storetoofew
+; CHECK-SAME: typedBufferStore data must be a vector of 4 elements
+define void @storetoomany(<5 x float> %data, i32 %index) {
----------------
hekota wrote:
The checks for `storetoofew` and `storetoomany` seem to be swapped.
https://github.com/llvm/llvm-project/pull/104253
More information about the llvm-branch-commits
mailing list