[PATCH] D92431: [SROA] Remove Dead Instructions while creating speculative instructions

Arnamoy B via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 10 09:44:01 PST 2020


arnamoy10 updated this revision to Diff 310942.
arnamoy10 added reviewers: jmorse, dexonsmith.
arnamoy10 added a comment.

Using WeakVH instead of Instruction to take care of dangling pointers.  Had to replace the "insert" calls of SetVector with a SmallVector push_back


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92431/new/

https://reviews.llvm.org/D92431

Files:
  llvm/include/llvm/Transforms/Scalar/SROA.h
  llvm/lib/Transforms/Scalar/SROA.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92431.310942.patch
Type: text/x-patch
Size: 5338 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201210/65d5c845/attachment.bin>


More information about the llvm-commits mailing list