llvm.org GIT mirror llvm / 5d8f07e
[LLC][MIPS] Fix crash after enabling LLVM_ENABLE_EXPENSIVE_CHECKS Reviewers: sdardis, vkalintiris Subscribers: jaydeep, slthakur, RKSimon, llvm-commits Differential Revision: https://reviews.llvm.org/D27841 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290949 91177308-0d34-0410-b5e6-96231b3b80d8 Nitesh Jain 2 years ago
2 changed file(s) with 8 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
2727 #include "llvm/IR/Instructions.h"
2828 #include "llvm/IR/Intrinsics.h"
2929 #include "llvm/IR/Type.h"
30 #include "llvm/IR/Dominators.h"
3031 #include "llvm/Support/Debug.h"
3132 #include "llvm/Support/ErrorHandling.h"
3233 #include "llvm/Support/raw_ostream.h"
4041 if (Subtarget->inMips16Mode())
4142 return false;
4243 return MipsDAGToDAGISel::runOnMachineFunction(MF);
44 }
45
46 void MipsSEDAGToDAGISel::getAnalysisUsage(AnalysisUsage &AU) const {
47 AU.addRequired();
48 SelectionDAGISel::getAnalysisUsage(AU);
4349 }
4450
4551 void MipsSEDAGToDAGISel::addDSPCtrlRegOperands(bool IsDef, MachineInstr &MI,
2626 private:
2727
2828 bool runOnMachineFunction(MachineFunction &MF) override;
29
30 void getAnalysisUsage(AnalysisUsage &AU) const override;
2931
3032 void addDSPCtrlRegOperands(bool IsDef, MachineInstr &MI,
3133 MachineFunction &MF);