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:
3ce5e88
)
use MemTransferInst.
author
Chris Lattner
<sabre@nondot.org>
Sun, 8 Mar 2009 03:37:35 +0000
(
03:37
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 8 Mar 2009 03:37:35 +0000
(
03:37
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66362
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
1d0993a
..
6faf4d0
100644
(file)
--- a/
lib/Transforms/IPO/GlobalOpt.cpp
+++ b/
lib/Transforms/IPO/GlobalOpt.cpp
@@
-219,7
+219,7
@@
static bool AnalyzeGlobal(Value *V, GlobalStatus &GS,
if (AnalyzeGlobal(I, GS, PHIUsers)) return true;
GS.HasPHIUser = true;
} else if (isa<CmpInst>(I)) {
- } else if (isa<Mem
CpyInst>(I) || isa<MemMove
Inst>(I)) {
+ } else if (isa<Mem
Transfer
Inst>(I)) {
if (I->getOperand(1) == V)
GS.StoredType = GlobalStatus::isStored;
if (I->getOperand(2) == V)