commit | 87bdba6d6a1684373c94df0363a3b620de6dab6c | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Jul 09 17:25:29 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Jul 09 17:25:29 2007 +0000 |
tree | cd7dc95b8104d684c9beb8a7e9e34111aa5baf0d | |
parent | 0f9d599dc96c61345a3e07642baaa5cffb061600 [diff] [blame] |
The various "getModuleMatchQuality" implementations should return zero if they see a target triple they don't understand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38463 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/IA64/IA64TargetMachine.cpp b/lib/Target/IA64/IA64TargetMachine.cpp index d65ad3c4..51beaa1 100644 --- a/lib/Target/IA64/IA64TargetMachine.cpp +++ b/lib/Target/IA64/IA64TargetMachine.cpp
@@ -50,6 +50,8 @@ if (seenIA64) return 20; // strong match } + // If the target triple is something non-ia64, we don't match. + if (!TT.empty()) return 0; #if defined(__ia64__) || defined(__IA64__) return 5;