[PATCH] D69369: [NFC] Add a unit test exposing lack of SCEV invalidation in LICM during code hoisting

Daniil Suchkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 24 02:21:08 PDT 2019


DaniilSuchkov created this revision.
DaniilSuchkov added reviewers: mkazantsev, asbirlea, reames.
Herald added subscribers: llvm-commits, javed.absar, mgorny.
Herald added a project: LLVM.

This unit test exposes a bug in LICM: when it hoists instructions it doesn't invalidate SCEV accordingly.
Similar test exposing lack of SCEV invalidation during code sinking will be submitted as a follow-up change.


https://reviews.llvm.org/D69369

Files:
  llvm/unittests/Transforms/Scalar/CMakeLists.txt
  llvm/unittests/Transforms/Scalar/LICMTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69369.226212.patch
Type: text/x-patch
Size: 4356 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191024/30f10fc0/attachment.bin>


More information about the llvm-commits mailing list