1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

DAGCombinerInformation: add a getter that exposes the dagcombine level.

llvm-svn: 171152
This commit is contained in:
Nadav Rotem 2012-12-27 08:44:35 +00:00
parent 319ccd0fdb
commit fcfd42040b

View File

@ -977,6 +977,7 @@ public:
bool isAfterLegalizeVectorOps() const {
return Level == AfterLegalizeDAG;
}
CombineLevel getDAGCombineLevel() { return Level; }
bool isCalledByLegalizer() const { return CalledByLegalizer; }
void AddToWorklist(SDNode *N);