[all-commits] [llvm/llvm-project] 875782: [OpenMPOpt] Avoid pointer element type access duri...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Mar 15 01:53:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 875782bd9ea322445dd41213ca6bbf70169e741d
      https://github.com/llvm/llvm-project/commit/875782bd9ea322445dd41213ca6bbf70169e741d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

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

  Log Message:
  -----------
  [OpenMPOpt] Avoid pointer element type access during region merging

Hardcode the function type as ParallelTask, which is the guaranteed
pointee type of this runtime function argument (if pointee types
exist). The elimination of the callee bitcast is left for InstCombine.

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




More information about the All-commits mailing list