mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-08 18:30:04 +00:00
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
This commit is contained in:
parent
44185d4908
commit
3190be9c9a
@ -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