OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb7c686
)
fix whitespace in my last commit.
author
Nuno Lopes
<nunoplopes@sapo.pt>
Fri, 22 Jun 2012 00:29:58 +0000
(
00:29
+0000)
committer
Nuno Lopes
<nunoplopes@sapo.pt>
Fri, 22 Jun 2012 00:29:58 +0000
(
00:29
+0000)
sorry for the churn :S enough for today; going to sleep.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158953
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/GlobalOpt.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/GlobalOpt.cpp
b/lib/Transforms/IPO/GlobalOpt.cpp
index
ab58c41
..
1668d6b
100644
(file)
--- a/
lib/Transforms/IPO/GlobalOpt.cpp
+++ b/
lib/Transforms/IPO/GlobalOpt.cpp
@@
-1570,7
+1570,7
@@
static bool TryToOptimizeStoreOfMallocToGlobal(GlobalVariable *GV,
if (BitCastInst *BCI = dyn_cast<BitCastInst>(Malloc))
CI = cast<CallInst>(BCI->getOperand(0));
else
- CI = cast<CallInst>(Malloc);
+
CI = cast<CallInst>(Malloc);
}
GVI = PerformHeapAllocSRoA(GV, CI, getMallocArraySize(CI, TD, true), TD);