[Mlir-commits] [mlir] [OpenACC] fix test after strict properties change (PR #217717)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Aug 20 11:21:04 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-openacc

Author: Scott Manley (rscottmanley)

<details>
<summary>Changes</summary>

Rebased shortly after the change and didn't catch the test failure

---
Full diff: https://github.com/llvm/llvm-project/pull/217717.diff


1 Files Affected:

- (modified) mlir/test/Dialect/OpenACC/acc-compute-lowering-loop.mlir (+1-2) 


``````````diff
diff --git a/mlir/test/Dialect/OpenACC/acc-compute-lowering-loop.mlir b/mlir/test/Dialect/OpenACC/acc-compute-lowering-loop.mlir
index fbf6230852cc8..4da7ca8868655 100644
--- a/mlir/test/Dialect/OpenACC/acc-compute-lowering-loop.mlir
+++ b/mlir/test/Dialect/OpenACC/acc-compute-lowering-loop.mlir
@@ -252,7 +252,6 @@ func.func @orphan_loop_unroll_annotation(%buf: memref<8xi32>) {
   acc.loop control(%i : index) = (%c0 : index) to (%c8 : index) step (%c1 : index) {
     memref.store %c0_i32, %buf[%i] : memref<8xi32>
     acc.yield
-  } attributes {independent = [#acc.device_type<none>],
-                llvm.loop_annotation = #llvm.loop_annotation<unroll = <disable = false, full = true>>} 
+  } independent attributes {llvm.loop_annotation = #llvm.loop_annotation<unroll = <disable = false, full = true>>} 
   return
 }

``````````

</details>


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


More information about the Mlir-commits mailing list