aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Target
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-12-27 08:44:35 +0000
committerNadav Rotem <nrotem@apple.com>2012-12-27 08:44:35 +0000
commit3190be9c9a9f4c69591f78ed65dd7b06dd6c80c1 (patch)
tree9d3622b7430b6b205eb5a29b3f4ea06584871381 /include/llvm/Target
parent44185d49084f76427be15b1d4db18fc3027681c9 (diff)
DAGCombinerInformation: add a getter that exposes the dagcombine level.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171152 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-rw-r--r--include/llvm/Target/TargetLowering.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index d644500683..0a49fae621 100644
--- 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);