commit | 2cd9451d45d2cfd560395c25c12d27d8f6090d1b | [log] [tgz] |
---|---|---|
author | Florian Hahn <florian.hahn@arm.com> | Thu Jun 07 11:09:05 2018 +0000 |
committer | Florian Hahn <florian.hahn@arm.com> | Thu Jun 07 11:09:05 2018 +0000 |
tree | ecdec1ac2cae792254678cc5c4b9adef2b45f1a6 | |
parent | 86e569e7c672d75a1dd99cd408ba8b819f60539a [diff] |
[Mem2Reg] Avoid replacing load with itself in promoteSingleBlockAlloca. We do the same thing in rewriteSingleStoreAlloca. Fixes PR37632. Reviewers: chandlerc, davide, efriedma Reviewed By: davide Differential Revision: https://reviews.llvm.org/D47825 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334187 91177308-0d34-0410-b5e6-96231b3b80d8