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:
43f8e43
)
finish a thought.
author
Chris Lattner
<sabre@nondot.org>
Thu, 18 Nov 2010 07:32:33 +0000
(07:32 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 18 Nov 2010 07:32:33 +0000
(07:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119690
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/ScalarReplAggregates.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/ScalarReplAggregates.cpp
b/lib/Transforms/Scalar/ScalarReplAggregates.cpp
index
1bec443
..
a20d769
100644
(file)
--- a/
lib/Transforms/Scalar/ScalarReplAggregates.cpp
+++ b/
lib/Transforms/Scalar/ScalarReplAggregates.cpp
@@
-1831,7
+1831,7
@@
static bool isOnlyCopiedFromConstantGlobal(Value *V, MemTransferInst *&TheCopy,
return false;
// If the transfer is using the alloca as a source of the transfer, then
- // i
t
(unless the transfer is volatile).
+ // i
gnore it since it is a load
(unless the transfer is volatile).
if (UI.getOperandNo() == 1) {
if (MI->isVolatile()) return false;
continue;