[llvm] r176204 - Reverted: r176136 - Have a way for a target to opt-out of target-independent fast isel
Michael Ilseman
milseman at apple.com
Wed Feb 27 11:54:00 PST 2013
Author: milseman
Date: Wed Feb 27 13:54:00 2013
New Revision: 176204
URL: http://llvm.org/viewvc/llvm-project?rev=176204&view=rev
Log:
Reverted: r176136 - Have a way for a target to opt-out of target-independent fast isel
Modified:
llvm/trunk/include/llvm/CodeGen/FastISel.h
llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
Modified: llvm/trunk/include/llvm/CodeGen/FastISel.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/FastISel.h?rev=176204&r1=176203&r2=176204&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/FastISel.h (original)
+++ llvm/trunk/include/llvm/CodeGen/FastISel.h Wed Feb 27 13:54:00 2013
@@ -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);
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp?rev=176204&r1=176203&r2=176204&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp Wed Feb 27 13:54:00 2013
@@ -822,7 +822,7 @@ FastISel::SelectInstruction(const Instru
}
// First, try doing target-independent selection.
- if (!SkipTargetIndependentFastISel() && SelectOperator(I, I->getOpcode())) {
+ if (SelectOperator(I, I->getOpcode())) {
++NumFastIselSuccessIndependent;
DL = DebugLoc();
return true;
More information about the llvm-commits
mailing list