[llvm-commits] [llvm] r171152 - /llvm/trunk/include/llvm/Target/TargetLowering.h

Nadav Rotem nrotem at apple.com
Thu Dec 27 00:44:36 PST 2012


Author: nadav
Date: Thu Dec 27 02:44:35 2012
New Revision: 171152

URL: http://llvm.org/viewvc/llvm-project?rev=171152&view=rev
Log:
DAGCombinerInformation: add a getter that exposes the dagcombine level.

Modified:
    llvm/trunk/include/llvm/Target/TargetLowering.h

Modified: llvm/trunk/include/llvm/Target/TargetLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetLowering.h?rev=171152&r1=171151&r2=171152&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetLowering.h (original)
+++ llvm/trunk/include/llvm/Target/TargetLowering.h Thu Dec 27 02:44:35 2012
@@ -977,6 +977,7 @@
     bool isAfterLegalizeVectorOps() const {
       return Level == AfterLegalizeDAG;
     }
+    CombineLevel getDAGCombineLevel() { return Level; }
     bool isCalledByLegalizer() const { return CalledByLegalizer; }
 
     void AddToWorklist(SDNode *N);





More information about the llvm-commits mailing list