Skip to content

Commit

Permalink
Reverted: r176136 - Have a way for a target to opt-out of target-inde…
Browse files Browse the repository at this point in the history
…pendent fast isel

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176204 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
milseman committed Feb 27, 2013
1 parent ba78f0b commit 7dbd34b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions include/llvm/CodeGen/FastISel.h
Original file line number Diff line number Diff line change
Expand Up @@ -372,11 +372,6 @@ class FastISel {
return 0;
}

/// Whether we should skip target-independent fast-isel
virtual bool SkipTargetIndependentFastISel() {
return false;
}

private:
bool SelectBinaryOp(const User *I, unsigned ISDOpcode);

Expand Down
2 changes: 1 addition & 1 deletion lib/CodeGen/SelectionDAG/FastISel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7dbd34b

Please sign in to comment.