[all-commits] [llvm/llvm-project] d6d50c: Allocate simple private vars inside of the task

Tom Eccles via All-commits all-commits at lists.llvm.org
Tue Feb 4 09:05:04 PST 2025


  Branch: refs/heads/users/tblah/delayed-task-exec-5
  Home:   https://github.com/llvm/llvm-project
  Commit: d6d50cd96025d1aa74cbdb7f5da604cf104d9afc
      https://github.com/llvm/llvm-project/commit/d6d50cd96025d1aa74cbdb7f5da604cf104d9afc
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2025-02-04 (Tue, 04 Feb 2025)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/openmp-llvm.mlir
    M mlir/test/Target/LLVMIR/openmp-task-privatization.mlir

  Log Message:
  -----------
  Allocate simple private vars inside of the task

There's no need to put the variable in the context structure if it can
be initialized without reading from the mold variable.

This leads to much simpler code generation for nested tasks which only
privatize simple scalar variables and do not use firstprivate. This
works around the failure in 0226_0013 (Fujitsu test).



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list