[polly] r243024 - Removed redundant alias checks generated during run time.

Tobias Grosser tobias at grosser.es
Fri Jul 24 06:10:39 PDT 2015


On 07/23/2015 07:04 PM, Johannes Doerfert wrote:
> Author: jdoerfert
> Date: Thu Jul 23 12:04:54 2015
> New Revision: 243024
>
> URL: http://llvm.org/viewvc/llvm-project?rev=243024&view=rev
> Log:
> Removed redundant alias checks generated during run time.
>
>    As specified in PR23888, run-time alias check generation is expensive
>    in terms of compile-time. This reduces the compile time by computing
>    minimal/maximal access only once for each base pointer
>
> Contributed-by: Pratik Bhatu <cs12b1010 at iith.ac.in>

I now see the following addresse sanitizer memory leak report:

=================================================================
==24978==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 88 byte(s) in 1 object(s) allocated from:
     #0 0x6a4812 in operator new(unsigned long) (/home/grosser/Projects/polly/build_sanitize/bin/opt+0x6a4812)
     #1 0x7f2ec594832e in polly::Scop::buildAliasGroups(llvm::AliasAnalysis&) /home/grosser/Projects/polly/git/tools/polly/lib/Analysis/ScopInfo.cpp:1597:49
     #2 0x7f2ec59541e7 in polly::ScopInfo::runOnRegion(llvm::Region*, llvm::RGPassManager&) /home/grosser/Projects/polly/git/tools/polly/lib/Analysis/ScopInfo.cpp:2188:7
     #3 0xdb5cd5 in llvm::RGPassManager::runOnFunction(llvm::Function&) /home/grosser/Projects/polly/git/lib/Analysis/RegionPass.cpp:99:20
     #4 0x17c353b in llvm::FPPassManager::runOnFunction(llvm::Function&) /home/grosser/Projects/polly/git/lib/IR/LegacyPassManager.cpp:1520:23
     #5 0x17c39c5 in llvm::FPPassManager::runOnModule(llvm::Module&) /home/grosser/Projects/polly/git/lib/IR/LegacyPassManager.cpp:1540:16
     #6 0x17c4649 in runOnModule /home/grosser/Projects/polly/git/lib/IR/LegacyPassManager.cpp:1596:23
     #7 0x17c4649 in llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/grosser/Projects/polly/git/lib/IR/LegacyPassManager.cpp:1698
     #8 0x6ca709 in main /home/grosser/Projects/polly/git/tools/opt/opt.cpp:600:3
     #9 0x7f2ec8312ec4 in __libc_start_main /build/buildd/glibc-2.19/csu/libc-start.c:287

SUMMARY: AddressSanitizer: 88 byte(s) leaked in 1 allocation(s).

Best,
Tobias



More information about the llvm-commits mailing list