Reverted: r176136 - Have a way for a target to opt-out of target-independent fast isel

llvm-svn: 176204
This commit is contained in:
Michael Ilseman 2013-02-27 19:54:00 +00:00
parent efa067cab9
commit 07517409f1
2 changed files with 1 additions and 6 deletions

View File

@ -372,11 +372,6 @@ protected:
return 0;
}
/// Whether we should skip target-independent fast-isel
virtual bool SkipTargetIndependentFastISel() {
return false;
}
private:
bool SelectBinaryOp(const User *I, unsigned ISDOpcode);

View File

@ -822,7 +822,7 @@ FastISel::SelectInstruction(const Instruction *I) {
}
// First, try doing target-independent selection.
if (!SkipTargetIndependentFastISel() && SelectOperator(I, I->getOpcode())) {
if (SelectOperator(I, I->getOpcode())) {
++NumFastIselSuccessIndependent;
DL = DebugLoc();
return true;