[PATCH] D140889: OpenMPOpt: Fix using wrong address space for alloca

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 3 05:48:40 PST 2023


arsenm created this revision.
arsenm added reviewers: jdoerfert, JonChesterfield, jhuber6, hamax97, sstefan1.
Herald added subscribers: ormris, guansong, hiraditya, arichardson, yaxunl.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

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.


https://reviews.llvm.org/D140889

Files:
  llvm/lib/Transforms/IPO/OpenMPOpt.cpp
  llvm/test/Transforms/OpenMP/hide_mem_transfer_latency.ll
  llvm/test/Transforms/OpenMP/values_in_offload_arrays.alloca.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140889.485973.patch
Type: text/x-patch
Size: 9170 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230103/38da0b96/attachment.bin>


More information about the llvm-commits mailing list