[PATCH] D55974: [GVN] Update BlockRPONumber prior to use.

Matt Davis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 9 16:36:00 PST 2019


mattd updated this revision to Diff 180961.
mattd added a comment.

- Moved the logic for controlling access to performPRE/performScalarPRE functions into a separate patch.
- Added an assertion that will trigger on 9 tests if the BlockRPONumber map is invalid. In particular, `test/Transforms/GVN/nonescaping-malloc.ll`, which also requires an assert build when testing.


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

https://reviews.llvm.org/D55974

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55974.180961.patch
Type: text/x-patch
Size: 3653 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190110/18706873/attachment.bin>


More information about the llvm-commits mailing list