diff options
author | Michael Kruse <llvm@meinersbur.de> | 2017-06-29 12:47:41 +0000 |
---|---|---|
committer | Michael Kruse <llvm@meinersbur.de> | 2017-06-29 12:47:41 +0000 |
commit | 476f855ec8cbe465e26fc9e828cc1fe376c491ef (patch) | |
tree | e98ac8b09621eea3bd54571721614b86873a6b6c /lldb/unittests/Target/ModuleCacheTest.cpp | |
parent | 8996346bbae8e0cbc97cb5c8c99c49dd7f9f75fa (diff) | |
download | bcm5719-llvm-476f855ec8cbe465e26fc9e828cc1fe376c491ef.tar.gz bcm5719-llvm-476f855ec8cbe465e26fc9e828cc1fe376c491ef.zip |
[ScopInfo] Do not use ScopStmt in Domain derivation of ScopInfo. NFC
ScopStmts were being used in the computation of the Domain of the SCoPs
in ScopInfo. Once statements are split, there will not be a 1-to-1
correspondence between Stmts and Basic blocks. Thus this patch avoids
the use of getStmtFor() by creating a map of BB to InvalidDomain and
using it to compute the domain of the statements.
Contributed-by: Nanidini Singhal <cs15mtech01004@iith.ac.in>
Differential Revision: https://reviews.llvm.org/D33942
llvm-svn: 306667
Diffstat (limited to 'lldb/unittests/Target/ModuleCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions