projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mass elimination of reliance on automatic iterator dereferencing
[oota-llvm.git]
/
lib
/
Transforms
/
IPO
/
StructRetPromotion.cpp
diff --git
a/lib/Transforms/IPO/StructRetPromotion.cpp
b/lib/Transforms/IPO/StructRetPromotion.cpp
index 6857ef52460e06b2558bb301880cfa9fa9b726ca..e16dcd4afaa97a6ceff3e38015db9d57d45711ae 100644
(file)
--- a/
lib/Transforms/IPO/StructRetPromotion.cpp
+++ b/
lib/Transforms/IPO/StructRetPromotion.cpp
@@
-187,7
+187,7
@@
bool SRETPromotion::isSafeToUpdateAllCallers(Function *F) {
return false;
for (Value::use_iterator GEPI = GEP->use_begin(), GEPE = GEP->use_end();
GEPI != GEPE; ++GEPI)
- if (!isa<LoadInst>(GEPI))
+ if (!isa<LoadInst>(
*
GEPI))
return false;
}
// Any other FirstArg users make this function unsuitable for sret