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:
f06c835
)
add AU.setPreservesCFG() since this pass only adds and removes function attributes
author
Nuno Lopes
<nunoplopes@sapo.pt>
Tue, 30 Sep 2008 18:34:38 +0000
(18:34 +0000)
committer
Nuno Lopes
<nunoplopes@sapo.pt>
Tue, 30 Sep 2008 18:34:38 +0000
(18:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56868
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/AddReadAttrs.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/AddReadAttrs.cpp
b/lib/Transforms/IPO/AddReadAttrs.cpp
index
4c6158c
..
7af071c
100644
(file)
--- a/
lib/Transforms/IPO/AddReadAttrs.cpp
+++ b/
lib/Transforms/IPO/AddReadAttrs.cpp
@@
-35,6
+35,11
@@
namespace {
// runOnSCC - Analyze the SCC, performing the transformation if possible.
bool runOnSCC(const std::vector<CallGraphNode *> &SCC);
+
+ virtual void getAnalysisUsage(AnalysisUsage &AU) const {
+ AU.setPreservesCFG();
+ CallGraphSCCPass::getAnalysisUsage(AU);
+ }
};
}