projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44185d4
)
DAGCombinerInformation: add a getter that exposes the dagcombine level.
author
Nadav Rotem
<nrotem@apple.com>
Thu, 27 Dec 2012 08:44:35 +0000
(08:44 +0000)
committer
Nadav Rotem
<nrotem@apple.com>
Thu, 27 Dec 2012 08:44:35 +0000
(08:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171152
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Target/TargetLowering.h
patch
|
blob
|
history
diff --git
a/include/llvm/Target/TargetLowering.h
b/include/llvm/Target/TargetLowering.h
index d6445006833f2a4df1569a3fdc24d68410d87933..0a49fae6216da2f06ca20f7cc70318b273623f93 100644
(file)
--- a/
include/llvm/Target/TargetLowering.h
+++ b/
include/llvm/Target/TargetLowering.h
@@
-977,6
+977,7
@@
public:
bool isAfterLegalizeVectorOps() const {
return Level == AfterLegalizeDAG;
}
+ CombineLevel getDAGCombineLevel() { return Level; }
bool isCalledByLegalizer() const { return CalledByLegalizer; }
void AddToWorklist(SDNode *N);