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 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 49537bbf74a68c44d32e51f15080500ce994f1fc (diff) | |
download | llvm-7a0098aa6e36a60fd4a825c3a1ea1bddad141501.zip llvm-7a0098aa6e36a60fd4a825c3a1ea1bddad141501.tar.gz llvm-7a0098aa6e36a60fd4a825c3a1ea1bddad141501.tar.bz2 |
[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 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions