[Mlir-commits] [mlir] [MLIR][OpenMP] Use opaque pointers in OpenMP translation tests 2/2 (PR #70138)
Kiran Chandramohan
llvmlistbot at llvm.org
Tue Oct 24 15:50:43 PDT 2023
================
@@ -263,12 +263,12 @@ llvm.func @_QPopenmp_target_use_dev_addr() {
llvm.func @_QPopenmp_target_use_dev_addr_no_ptr() {
%0 = llvm.mlir.constant(1 : i64) : i64
- %a = llvm.alloca %0 x !llvm.ptr<i32> : (i64) -> !llvm.ptr<i32>
- %map = omp.map_info var_ptr(%a : !llvm.ptr<i32>, i32) map_clauses(tofrom) capture(ByRef) -> !llvm.ptr<i32> {name = ""}
- omp.target_data map_entries(%map : !llvm.ptr<i32>) use_device_addr(%a : !llvm.ptr<i32>) {
- ^bb0(%arg0: !llvm.ptr<i32>):
+ %a = llvm.alloca %0 x i32 : (i64) -> !llvm.ptr
----------------
kiranchandramohan wrote:
I had to change this test a bit to get the expected output. @TIFitis @agozillon
https://github.com/llvm/llvm-project/pull/70138
More information about the Mlir-commits
mailing list