[all-commits] [llvm/llvm-project] 60e643: [OpenMP][Fix] Fix disable spmdization option

Giorgis Georgakoudis via All-commits all-commits at lists.llvm.org
Thu Aug 12 17:59:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60e643fe05f52fff829892f746c2785a86612722
      https://github.com/llvm/llvm-project/commit/60e643fe05f52fff829892f746c2785a86612722
  Author: Giorgis Georgakoudis <georgakoudis1 at llnl.gov>
  Date:   2021-08-12 (Thu, 12 Aug 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp

  Log Message:
  -----------
  [OpenMP][Fix] Fix disable spmdization option

Besides SPMDization, other analysis and optimization for original, frontend-generated SPMD regions uses information from the AAKernelInfoFunction attribute. This fix makes sure disabling SPMDization through the corresponding option applies only to generic mode regions, which should not be SPMDized, while it leaves unaffected the attribute state of original SPMD regions.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D108001




More information about the All-commits mailing list