commit | 831687d1576efd003b20c0574831bdf2ce317e60 | [log] [tgz] |
---|---|---|
author | Michael Zolotukhin <mzolotukhin@apple.com> | Tue Sep 22 21:41:29 2015 +0000 |
committer | Michael Zolotukhin <mzolotukhin@apple.com> | Tue Sep 22 21:41:29 2015 +0000 |
tree | db4f16a1581c1e9bc2f9bef7a02598a8ba8924a1 | |
parent | 9800f4ca6e381fd475e54b1a9c7dade3b8742e98 [diff] |
[Unroll] Follow-up for r247769: fix a bug in UnrolledInstAnalyzer::visitLoad. Apart from checking that GlobalVariable is a constant, we should check that it's not a weak constant, in which case we can't propagate its value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248327 91177308-0d34-0410-b5e6-96231b3b80d8