[PATCH] D90083: IR: Clarify ownership of ConstantDataSequentials, NFC

Duncan P. N. Exon Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 23 16:45:05 PDT 2020


dexonsmith created this revision.
dexonsmith added reviewers: aprantl, dblaikie, teemperor.
Herald added subscribers: ributzka, hiraditya, yaxunl.
Herald added a reviewer: bollu.
Herald added a project: LLVM.
dexonsmith requested review of this revision.

Change `ConstantDataSequential::Next` to a
`unique_ptr<ConstantDataSequential>` and update `CDSConstants` to a
`StringMap<unique_ptr<ConstantDataSequential>>`, making the ownership
more obvious.


https://reviews.llvm.org/D90083

Files:
  clang/lib/CodeGen/CGLoopInfo.cpp
  llvm/lib/Analysis/LoopInfo.cpp
  llvm/lib/IR/MDBuilder.cpp
  polly/lib/CodeGen/IRBuilder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90083.300433.patch
Type: text/x-patch
Size: 6074 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201023/367fefcc/attachment.bin>


More information about the llvm-commits mailing list