[llvm-commits] CVS: llvm/lib/Target/X86/X86TargetMachine.cpp

Misha Brukman brukman at cs.uiuc.edu
Fri Nov 22 16:46:00 PST 2002


Changes in directory llvm/lib/Target/X86:

X86TargetMachine.cpp updated: 1.2 -> 1.3

---
Log message:

Enable the register allocator pass.


---
Diffs of the changes:

Index: llvm/lib/Target/X86/X86TargetMachine.cpp
diff -u llvm/lib/Target/X86/X86TargetMachine.cpp:1.2 llvm/lib/Target/X86/X86TargetMachine.cpp:1.3
--- llvm/lib/Target/X86/X86TargetMachine.cpp:1.2	Tue Oct 29 18:47:49 2002
+++ llvm/lib/Target/X86/X86TargetMachine.cpp	Fri Nov 22 16:45:07 2002
@@ -36,8 +36,12 @@
   PM.add(createMachineFunctionPrinterPass());
 
   // Perform register allocation to convert to a concrete x86 representation
-  //PM.add(createSimpleX86RegisterAllocator(*this));
+  PM.add(createSimpleX86RegisterAllocator(*this));
 
+  // Print the instruction selected machine code...
+  // PM.add(createMachineFunctionPrinterPass());
+
+  // Print the register-allocated code
   PM.add(createX86CodePrinterPass(*this, std::cerr));
 
   //PM.add(createEmitX86CodeToMemory(*this));





More information about the llvm-commits mailing list