[llvm-commits] [poolalloc] r136773 - /poolalloc/trunk/lib/DSA/AllocatorIdentification.cpp
Will Dietz
wdietz2 at illinois.edu
Wed Aug 3 03:22:23 PDT 2011
Author: wdietz2
Date: Wed Aug 3 05:22:23 2011
New Revision: 136773
URL: http://llvm.org/viewvc/llvm-project?rev=136773&view=rev
Log:
AllocatorIdentification.cpp: Remove trailing whitespace
No functionality changes.
Modified:
poolalloc/trunk/lib/DSA/AllocatorIdentification.cpp
Modified: poolalloc/trunk/lib/DSA/AllocatorIdentification.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/DSA/AllocatorIdentification.cpp?rev=136773&r1=136772&r2=136773&view=diff
==============================================================================
--- poolalloc/trunk/lib/DSA/AllocatorIdentification.cpp (original)
+++ poolalloc/trunk/lib/DSA/AllocatorIdentification.cpp Wed Aug 3 05:22:23 2011
@@ -37,9 +37,9 @@
bool AllocIdentify::flowsFrom(Value *Dest,Value *Src) {
if(Dest == Src)
return true;
- if(ReturnInst *Ret = dyn_cast<ReturnInst>(Dest)) {
+ if(ReturnInst *Ret = dyn_cast<ReturnInst>(Dest)) {
return flowsFrom(Ret->getReturnValue(), Src);
- }
+ }
if(PHINode *PN = dyn_cast<PHINode>(Dest)) {
Function *F = PN->getParent()->getParent();
LoopInfo &LI = getAnalysis<LoopInfo>(*F);
@@ -73,13 +73,13 @@
if(BitCastInst *BI = dyn_cast<BitCastInst>(*ui)) {
if(isNotStored(BI))
continue;
- else
+ else
return false;
}
if(PHINode *PN = dyn_cast<PHINode>(*ui)) {
if(isNotStored(PN))
continue;
- else
+ else
return false;
}
More information about the llvm-commits
mailing list