summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2018-05-20 23:03:17 +0000
committerNico Weber <nicolasweber@gmx.de>2018-05-20 23:03:17 +0000
commit41597b92b1a444721c550d1458f5350f53f24208 (patch)
treed5bdc083a8dc44567bcd0d915fa7ea9d84aae76a /llvm/lib/Support
parent5062e4b1aefd5165c42f1d2e0708ce3a21d1500e (diff)
downloadbcm5719-llvm-41597b92b1a444721c550d1458f5350f53f24208.tar.gz
bcm5719-llvm-41597b92b1a444721c550d1458f5350f53f24208.zip
Revert 332750, llvm part (see comment on D46910).
llvm-svn: 332823
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/Unix/Host.inc2
-rw-r--r--llvm/lib/Support/Windows/Host.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/Unix/Host.inc b/llvm/lib/Support/Unix/Host.inc
index b65f84bf444..5580e63893c 100644
--- a/llvm/lib/Support/Unix/Host.inc
+++ b/llvm/lib/Support/Unix/Host.inc
@@ -64,5 +64,5 @@ std::string sys::getDefaultTargetTriple() {
TargetTripleString = EnvTriple;
#endif
- return TargetTripleString;
+ return Triple::normalize(TargetTripleString);
}
diff --git a/llvm/lib/Support/Windows/Host.inc b/llvm/lib/Support/Windows/Host.inc
index 58c4dc5d678..90a6fb31670 100644
--- a/llvm/lib/Support/Windows/Host.inc
+++ b/llvm/lib/Support/Windows/Host.inc
@@ -30,5 +30,5 @@ std::string sys::getDefaultTargetTriple() {
Triple = EnvTriple;
#endif
- return Triple;
+ return Triple::normalize(Triple);
}
OpenPOWER on IntegriCloud