================ @@ -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 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits