Skip to content

Commit 5c7d731

Browse files
committed
If the module has no t-t and the host is an alpha, default to using the Alpha BE
llvm-svn: 24110
1 parent 57b7ee9 commit 5c7d731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/Alpha/AlphaTargetMachine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ unsigned AlphaTargetMachine::getModuleMatchQuality(const Module &M) {
5151
M.getPointerSize() != Module::AnyPointerSize)
5252
return 0; // Match for some other target
5353

54-
return 0;
54+
return getJITMatchQuality()/2;
5555
}
5656

5757
unsigned AlphaTargetMachine::getJITMatchQuality() {

0 commit comments

Comments
 (0)