diff options
author | Tobias Grosser <tobias@grosser.es> | 2017-05-03 07:57:35 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2017-05-03 07:57:35 +0000 |
commit | 8133128c172fb42224ec62596d3c9d673b552ce9 (patch) | |
tree | 658be0f408837364dc9f925ec8247c104cf94f92 /llvm/lib/Support/BinaryStreamReader.cpp | |
parent | ba9aefc0ec758217e12381181c6f71035ee88fde (diff) | |
download | llvm-8133128c172fb42224ec62596d3c9d673b552ce9.zip llvm-8133128c172fb42224ec62596d3c9d673b552ce9.tar.gz llvm-8133128c172fb42224ec62596d3c9d673b552ce9.tar.bz2 |
[ScopInfo] Do not add array name into memory reference ids
Before this change a memory reference identifier had the form:
<STMT>_<ACCESSTYPE><ID>_<MEMREF>, e.g., Stmt_bb9_Write0_MemRef_tmp11
After this change, we use the format:
<STMT>_<ACCESSTYPE><ID>, e.g., Stmt_bb9_Write0
The name of the array that is accessed through a memory reference is not
necessary to uniquely identify a memory reference, but was only added to
provide additional information for debugging. We drop this information now
for the following two reasons:
1) This shortens the names and consequently improves readability
2) This removes a second location where we decide on the name of a scop array,
leaving us only with the location where the actual scop array is created.
Having after 2) only a single location to name scop arrays will allow us to
change the naming convention of scop arrays more easily, which we will do
in a future commit to reduce compilation time.
llvm-svn: 302004
Diffstat (limited to 'llvm/lib/Support/BinaryStreamReader.cpp')
0 files changed, 0 insertions, 0 deletions