[Mlir-commits] [mlir] ae4292a - [MLIR][OpenMP] Remove local_unnamed_addr from check line
Shilei Tian
llvmlistbot at llvm.org
Sun Jul 23 15:51:47 PDT 2023
Author: Shilei Tian
Date: 2023-07-23T18:51:02-04:00
New Revision: ae4292abe4982d15cf939cb296243239f8b6556c
URL: https://github.com/llvm/llvm-project/commit/ae4292abe4982d15cf939cb296243239f8b6556c
DIFF: https://github.com/llvm/llvm-project/commit/ae4292abe4982d15cf939cb296243239f8b6556c.diff
LOG: [MLIR][OpenMP] Remove local_unnamed_addr from check line
Added:
Modified:
mlir/test/Target/LLVMIR/omptarget-region-device-llvm.mlir
Removed:
################################################################################
diff --git a/mlir/test/Target/LLVMIR/omptarget-region-device-llvm.mlir b/mlir/test/Target/LLVMIR/omptarget-region-device-llvm.mlir
index 6b32eb49638c0a..90b7e43c48e192 100644
--- a/mlir/test/Target/LLVMIR/omptarget-region-device-llvm.mlir
+++ b/mlir/test/Target/LLVMIR/omptarget-region-device-llvm.mlir
@@ -26,7 +26,7 @@ module attributes {omp.is_target_device = true} {
// CHECK: @[[SRC_LOC:.*]] = private unnamed_addr constant [23 x i8] c"{{[^"]*}}", align 1
// CHECK: @[[IDENT:.*]] = private unnamed_addr constant %struct.ident_t { i32 0, i32 2, i32 0, i32 22, ptr @[[SRC_LOC]] }, align 8
// CHECK: @[[DYNA_ENV:.*]] = internal global %struct.DynamicEnvironmentTy zeroinitializer
-// CHECK: @[[KERNEL_ENV:.*]] = local_unnamed_addr constant %struct.KernelEnvironmentTy { %struct.ConfigurationEnvironmentTy { i8 1, i8 1, i8 1 }, ptr @[[IDENT]], ptr @[[DYNA_ENV]] }
+// CHECK: @[[KERNEL_ENV:.*]] = constant %struct.KernelEnvironmentTy { %struct.ConfigurationEnvironmentTy { i8 1, i8 1, i8 1 }, ptr @[[IDENT]], ptr @[[DYNA_ENV]] }
// CHECK: define weak_odr protected void @__omp_offloading_{{[^_]+}}_{{[^_]+}}_omp_target_region__l{{[0-9]+}}(ptr %[[ADDR_A:.*]], ptr %[[ADDR_B:.*]], ptr %[[ADDR_C:.*]])
// CHECK: %[[INIT:.*]] = call i32 @__kmpc_target_init(ptr @[[KERNEL_ENV]])
// CHECK-NEXT: %[[CMP:.*]] = icmp eq i32 %3, -1
More information about the Mlir-commits
mailing list