File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
mlir/test/Dialect/OpenACC Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -312,18 +312,6 @@ acc.firstprivate.recipe @privatization_i32 : !llvm.ptr<i32> init {
312
312
313
313
// -----
314
314
315
- // expected-error@+1 {{expects init region to yield a value of the privatization type}}
316
- acc.firstprivate.recipe @privatization_i32 : !llvm.ptr <f32 > init {
317
- ^bb0 (%arg0 : !llvm.ptr <f32 >):
318
- %c1 = arith.constant 1 : i32
319
- %c0 = arith.constant 0 : i32
320
- %0 = llvm.alloca %c1 x i32 : (i32 ) -> !llvm.ptr <i32 >
321
- llvm.store %c0 , %0 : !llvm.ptr <i32 >
322
- acc.yield %0 : !llvm.ptr <i32 >
323
- } copy {}
324
-
325
- // -----
326
-
327
315
// expected-error@+1 {{expects non-empty copy region}}
328
316
acc.firstprivate.recipe @privatization_i32 : !llvm.ptr <i32 > init {
329
317
^bb0 (%arg0 : !llvm.ptr <i32 >):
You can’t perform that action at this time.
0 commit comments