diff options
author | Michael Ilseman <milseman@apple.com> | 2013-02-26 23:15:23 +0000 |
---|---|---|
committer | Michael Ilseman <milseman@apple.com> | 2013-02-26 23:15:23 +0000 |
commit | 846c6f0a329c2ffc371d8426fd5b7f9e11fa3412 (patch) | |
tree | 39ed38b51b8dd4befc2ca83ca598fc7e920d5fc0 /llvm/lib | |
parent | d02fd8318268f521a7199262196839ff8baeee0a (diff) | |
download | bcm5719-llvm-846c6f0a329c2ffc371d8426fd5b7f9e11fa3412.tar.gz bcm5719-llvm-846c6f0a329c2ffc371d8426fd5b7f9e11fa3412.zip |
Have a way for a target to opt-out of target-independent fast isel
llvm-svn: 176136
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 04f5b32e042..ff9b2ba542a 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -822,7 +822,7 @@ FastISel::SelectInstruction(const Instruction *I) { } // First, try doing target-independent selection. - if (SelectOperator(I, I->getOpcode())) { + if (!SkipTargetIndependentFastISel() && SelectOperator(I, I->getOpcode())) { ++NumFastIselSuccessIndependent; DL = DebugLoc(); return true; |