[all-commits] [llvm/llvm-project] c3054a: OpenMPOpt: Fix using wrong address space for alloca

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jan 3 13:26:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3054aeb5a3ba7778b1296722cfb90b494819b60
      https://github.com/llvm/llvm-project/commit/c3054aeb5a3ba7778b1296722cfb90b494819b60
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-01-03 (Tue, 03 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    M llvm/test/Transforms/OpenMP/hide_mem_transfer_latency.ll
    A llvm/test/Transforms/OpenMP/values_in_offload_arrays.alloca.ll

  Log Message:
  -----------
  OpenMPOpt: Fix using wrong address space for alloca

Using the function's address space makes no sense. Copied from the
existing test, with more addrspace variation. Could just replace the
existing one with this version if it's redundant.


  Commit: 2e7640e6dcb45845cebd96ca8a9c00110b675562
      https://github.com/llvm/llvm-project/commit/2e7640e6dcb45845cebd96ca8a9c00110b675562
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-01-03 (Tue, 03 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    A llvm/test/Transforms/OpenMP/heap-to-shared-missing-declarations.ll

  Log Message:
  -----------
  OpenMPOpt: Fix null dereference on missing declaration cache

Found by llvm-reduce fuzzing.


Compare: https://github.com/llvm/llvm-project/compare/3ffda42e5070...2e7640e6dcb4


More information about the All-commits mailing list