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:
parent
319ccd0fdb
commit
fcfd42040b
@ -977,6 +977,7 @@ public:
|
|||||||
bool isAfterLegalizeVectorOps() const {
|
bool isAfterLegalizeVectorOps() const {
|
||||||
return Level == AfterLegalizeDAG;
|
return Level == AfterLegalizeDAG;
|
||||||
}
|
}
|
||||||
|
CombineLevel getDAGCombineLevel() { return Level; }
|
||||||
bool isCalledByLegalizer() const { return CalledByLegalizer; }
|
bool isCalledByLegalizer() const { return CalledByLegalizer; }
|
||||||
|
|
||||||
void AddToWorklist(SDNode *N);
|
void AddToWorklist(SDNode *N);
|
||||||
|
Loading…
Reference in New Issue
Block a user