git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176136
91177308-0d34-0410-b5e6-
96231b3b80d8
+ /// Whether we should skip target-independent fast-isel
+ virtual bool SkipTargetIndependentFastISel() {
+ return false;
+ }
+
private:
bool SelectBinaryOp(const User *I, unsigned ISDOpcode);
private:
bool SelectBinaryOp(const User *I, unsigned ISDOpcode);
}
// First, try doing target-independent selection.
}
// First, try doing target-independent selection.
- if (SelectOperator(I, I->getOpcode())) {
+ if (!SkipTargetIndependentFastISel() && SelectOperator(I, I->getOpcode())) {
++NumFastIselSuccessIndependent;
DL = DebugLoc();
return true;
++NumFastIselSuccessIndependent;
DL = DebugLoc();
return true;