Add a target callback for FastISel.
[oota-llvm.git] / lib / Target / X86 / X86FastISel.cpp
index f049a4d363de5b1757297d66c25393f273528403..96bdb50fd699dfe3a3e42c7797599c68975b99c4 100644 (file)
 #include "X86FastISel.h"
 #include "X86TargetMachine.h"
 #include "X86GenFastISel.inc"
+
+namespace llvm {
+
+namespace X86 {
+
+bool
+FastISel::TargetSelectInstruction(Instruction *I,
+                                  DenseMap<const Value *, unsigned> &ValueMap,
+                      DenseMap<const BasicBlock *, MachineBasicBlock *> &MBBMap,
+                                  MachineBasicBlock *MBB)  {
+  switch (I->getOpcode()) {
+  default: break;
+  }
+
+  return false;
+}
+
+}
+
+}