From: Nadav Rotem Date: Thu, 27 Dec 2012 08:44:35 +0000 (+0000) Subject: DAGCombinerInformation: add a getter that exposes the dagcombine level. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3190be9c9a9f4c69591f78ed65dd7b06dd6c80c1;p=oota-llvm.git 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 --- diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index d6445006833..0a49fae6216 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);