summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Program.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2017-02-23 15:40:46 +0000
committerMichael Kruse <llvm@meinersbur.de>2017-02-23 15:40:46 +0000
commit00c38e0df29f97330fe59115cfefbcee3d0d7799 (patch)
tree19f99e5ffbfb0fcfbf9b56fb7d3497eae0b69a42 /llvm/lib/Support/Program.cpp
parent52ab4943b49f091ce39766c95abd03b340220c23 (diff)
downloadbcm5719-llvm-00c38e0df29f97330fe59115cfefbcee3d0d7799.tar.gz
bcm5719-llvm-00c38e0df29f97330fe59115cfefbcee3d0d7799.zip
[DependenceInfo] Simplify use of StmtSchedule's domain [NFC]
Once a StmtSchedule is created, only its domain is used anywhere within DependenceInfo::calculateDependences. So, we choose to return the wrapped domain of the union_map rather than the entire union_map. However, we still build the union_map first within collectInfo(). It is cleaner to first build the entire union_map and then pull the domain out in one shot, rather than repeatedly extracting the domain in bits and pieces from accdom. Contributed-by: Siddharth Bhat <siddu.druid@gmail.com> Differential Revision: https://reviews.llvm.org/D30208 llvm-svn: 295984
Diffstat (limited to 'llvm/lib/Support/Program.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud