[PATCH] D51936: Fix a use-after-RAUW bug in large GEP splitting

Krzysztof Pszeniczny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 11 09:09:29 PDT 2018


amharc added a comment.

The other `AssertingVH`s held by large GEP splitting code are either `AssertingVH<GetElementPtrInst>` or refer to possibly bitcasted `GetElementPtrInst`s. As far as I can see, there is no RAUWing of those being done in CGP at the moment.

This patch should probably include a custom `ValueMapConfig` which merges the vectors of GEPs while RAUWing.


Repository:
  rL LLVM

https://reviews.llvm.org/D51936





More information about the llvm-commits mailing list