[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaTargetMachine.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Oct 30 08:44:13 PST 2005



Changes in directory llvm/lib/Target/Alpha:

AlphaTargetMachine.cpp updated: 1.14 -> 1.15
---
Log message:

If the module has no t-t and the host is an alpha, default to using the Alpha BE


---
Diffs of the changes:  (+1 -1)

 AlphaTargetMachine.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
diff -u llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.14 llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.15
--- llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.14	Wed Oct 19 19:28:31 2005
+++ llvm/lib/Target/Alpha/AlphaTargetMachine.cpp	Sun Oct 30 10:44:01 2005
@@ -51,7 +51,7 @@
            M.getPointerSize() != Module::AnyPointerSize)
     return 0;                                    // Match for some other target
 
-  return 0;
+  return getJITMatchQuality()/2;
 }
 
 unsigned AlphaTargetMachine::getJITMatchQuality() {






More information about the llvm-commits mailing list