diff options
| author | Alina Sbirlea <asbirlea@google.com> | 2019-06-17 18:58:40 +0000 |
|---|---|---|
| committer | Alina Sbirlea <asbirlea@google.com> | 2019-06-17 18:58:40 +0000 |
| commit | 7a0098aa6e36a60fd4a825c3a1ea1bddad141501 (patch) | |
| tree | 752979a6bd916c8145ed0aa1585ad0c187559088 /llvm/lib/Transforms/Scalar/EarlyCSE.cpp | |
| parent | 49537bbf74a68c44d32e51f15080500ce994f1fc (diff) | |
| download | bcm5719-llvm-7a0098aa6e36a60fd4a825c3a1ea1bddad141501.tar.gz bcm5719-llvm-7a0098aa6e36a60fd4a825c3a1ea1bddad141501.zip | |
[MemorySSA] Don't use template when the clone is a simplified instruction.
Summary:
LoopRotate doesn't create a faithful clone of an instruction, it may
simplify it beforehand. Hence the clone of an instruction that has a
MemoryDef associated may not be a definition, but a use or not a memory
alternig instruction.
Don't rely on the template when the clone may be simplified.
Reviewers: george.burgess.iv
Subscribers: jlebar, Prazek, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D63355
llvm-svn: 363597
Diffstat (limited to 'llvm/lib/Transforms/Scalar/EarlyCSE.cpp')
0 files changed, 0 insertions, 0 deletions

