commit | 768427d16267a464bdcf6dffcbe75a65d0543f78 | [log] [tgz] |
---|---|---|
author | Max Kazantsev <max.kazantsev@azul.com> | Mon Sep 10 06:32:00 2018 +0000 |
committer | Max Kazantsev <max.kazantsev@azul.com> | Mon Sep 10 06:32:00 2018 +0000 |
tree | 38e436d6069035305b6515b7c5a705ecff16cbc4 | |
parent | dfb80c8b79891c8347e40f3e50365b3a1b04a07e [diff] |
[IndVars] Set Changed if sinkUnusedInvariants changes IR. PR38863 Currently, `sinkUnusedInvariants` does not set Changed flag even if it makes changes in the IR. There is no clear evidence that it can cause a crash, but it looks highly suspicious and likely invalid. Differential Revision: https://reviews.llvm.org/D51777 Reviewed By: skatkov git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341777 91177308-0d34-0410-b5e6-96231b3b80d8