[all-commits] [llvm/llvm-project] 22c898: [OpenMP] Use Attributor to find underlying objects...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Mon Jan 9 23:35:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22c898dbfd3a79c90a78dfc2af28928eeb167ecf
      https://github.com/llvm/llvm-project/commit/22c898dbfd3a79c90a78dfc2af28928eeb167ecf
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    M llvm/test/Transforms/OpenMP/reduced_pointer_info_assertion.ll
    M llvm/test/Transforms/OpenMP/spmdization_guarding.ll

  Log Message:
  -----------
  [OpenMP] Use Attributor to find underlying objects of stores

When we see a store in generic mode we need to decide if we should guard
it for SPMDzation. This patch changes the getUnderlyingObjects call to
the more optimistic getAssumedUnderlyingObjects call to identify more
thread local pointers.




More information about the All-commits mailing list