[llvm-commits] [llvm] r55010 - in /llvm/trunk/lib/Target/X86: X86ISelLowering.cpp X86ISelLowering.h
Dan Gohman
gohman at apple.com
Tue Aug 19 14:32:53 PDT 2008
Author: djg
Date: Tue Aug 19 16:32:53 2008
New Revision: 55010
URL: http://llvm.org/viewvc/llvm-project?rev=55010&view=rev
Log:
The X86 target will soon have an implementation of createFastISel.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
llvm/trunk/lib/Target/X86/X86ISelLowering.h
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=55010&r1=55009&r2=55010&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Tue Aug 19 16:32:53 2008
@@ -1869,6 +1869,14 @@
return false;
}
+FastISel *X86TargetLowering::createFastISel(MachineBasicBlock *mbb,
+ MachineFunction *mf,
+ const TargetInstrInfo *tii) {
+ // FastISel isn't yet supported.
+ return 0;
+}
+
+
//===----------------------------------------------------------------------===//
// Other Lowering Hooks
//===----------------------------------------------------------------------===//
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.h?rev=55010&r1=55009&r2=55010&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.h (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.h Tue Aug 19 16:32:53 2008
@@ -466,6 +466,12 @@
return (VT == MVT::f64 && X86ScalarSSEf64) || // f64 is when SSE2
(VT == MVT::f32 && X86ScalarSSEf32); // f32 is when SSE1
}
+
+ /// createFastISel - This method returns a target specific FastISel object,
+ /// or null if the target does not support "fast" ISel.
+ virtual FastISel *createFastISel(MachineBasicBlock *mbb,
+ MachineFunction *mf,
+ const TargetInstrInfo *tii);
private:
/// Subtarget - Keep a pointer to the X86Subtarget around so that we can
More information about the llvm-commits
mailing list