[polly] r243889 - Do not add spaces into memory-access identifiers

Tobias Grosser tobias at grosser.es
Mon Aug 3 10:53:21 PDT 2015


Author: grosser
Date: Mon Aug  3 12:53:21 2015
New Revision: 243889

URL: http://llvm.org/viewvc/llvm-project?rev=243889&view=rev
Log:
Do not add spaces into memory-access identifiers

Modified:
    polly/trunk/lib/Analysis/ScopInfo.cpp

Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=243889&r1=243888&r2=243889&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Mon Aug  3 12:53:21 2015
@@ -670,7 +670,7 @@ MemoryAccess::MemoryAccess(const IRAcces
 
   isl_id *BaseAddrId = SAI->getBasePtrId();
 
-  auto IdName = "__polly_array_ref_ " + std::to_string(Identifier);
+  auto IdName = "__polly_array_ref_" + std::to_string(Identifier);
   Id = isl_id_alloc(Ctx, IdName.c_str(), nullptr);
 
   if (!Access.isAffine()) {





More information about the llvm-commits mailing list