Patch by Dimitry Andric!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131990
91177308-0d34-0410-b5e6-
96231b3b80d8
else if (getToolChain().getArchName() == "i386")
CPUName = "i486";
} else if (getToolChain().getOS().startswith("freebsd")) {
- if (getToolChain().getArchName() == "x86_64")
+ if (getToolChain().getArchName() == "x86_64" ||
+ getToolChain().getArchName() == "amd64")
CPUName = "x86-64";
else if (getToolChain().getArchName() == "i386")
CPUName = "i486";