projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f5637c3
)
Every pass deserves a name, even codegenprep.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 21 Dec 2012 01:48:14 +0000
(
01:48
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 21 Dec 2012 01:48:14 +0000
(
01:48
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170831
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/CodeGenPrepare.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/CodeGenPrepare.cpp
b/lib/Transforms/Scalar/CodeGenPrepare.cpp
index c490705f3ba6206116d64e2659cd97519c553c8a..b8900ac3d77387eb9e5af4d0a4e2b430f708a372 100644
(file)
--- a/
lib/Transforms/Scalar/CodeGenPrepare.cpp
+++ b/
lib/Transforms/Scalar/CodeGenPrepare.cpp
@@
-106,6
+106,8
@@
namespace {
}
bool runOnFunction(Function &F);
+ const char *getPassName() const { return "CodeGen Prepare"; }
+
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addPreserved<DominatorTree>();
AU.addPreserved<ProfileInfo>();