projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0721867
)
Enable the register allocator pass.
author
Misha Brukman
<brukman+llvm@gmail.com>
Fri, 22 Nov 2002 22:45:07 +0000
(22:45 +0000)
committer
Misha Brukman
<brukman+llvm@gmail.com>
Fri, 22 Nov 2002 22:45:07 +0000
(22:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4829
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86TargetMachine.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86TargetMachine.cpp
b/lib/Target/X86/X86TargetMachine.cpp
index 50780fa61d5522af4ca4671fd25adabadd9dbc0e..e316abc5221e301f2fc2b075b756b0d9d49ac00b 100644
(file)
--- a/
lib/Target/X86/X86TargetMachine.cpp
+++ b/
lib/Target/X86/X86TargetMachine.cpp
@@
-36,8
+36,12
@@
bool X86TargetMachine::addPassesToJITCompile(PassManager &PM) {
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));