[PATCH] D118227: [OpenMP][IRBuilder] Fix AllocIP for atomic update and capture

Shraiysh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 26 01:40:57 PST 2022


shraiysh created this revision.
Herald added subscribers: rogfer01, guansong, hiraditya, yaxunl.
shraiysh requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.

This patch changes the alloca argument for createAtomicUpdate and
createAtomicCapture from `Instruction*` to `InsertPointTy`. This is in
line with the other functions of the OpenMPIRBuilder class which take
AllocaIP as an `InsertPointTy`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118227

Files:
  llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
  llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
  llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118227.403170.patch
Type: text/x-patch
Size: 7995 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220126/61322f74/attachment.bin>


More information about the llvm-commits mailing list