#include "llvm/Transforms/Scalar.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/ADT/Statistic.h"
+#include <iostream>
using namespace llvm;
/// IA64TargetMachineModule - Note that this is used on hosts that cannot link
PM.add(createUnreachableBlockEliminationPass());
// Add an instruction selector
- if(EnableDAGIsel)
- PM.add(createIA64DAGToDAGInstructionSelector(*this));
- else
- PM.add(createIA64PatternInstructionSelector(*this));
+// FIXME: reap this option one day: if(EnableDAGIsel)
+ PM.add(createIA64DAGToDAGInstructionSelector(*this));
/* XXX not yet. ;)
// Run optional SSA-based machine code optimizations next...
/* XXX no, not just yet */
// PM.add(createIA64PeepholeOptimizerPass());
+ // Make sure everything is bundled happily
+ PM.add(createIA64BundlingPass(*this));
+
if (PrintMachineCode) // Print the register-allocated code
PM.add(createIA64CodePrinterPass(std::cerr, *this));