Public bug reported: clang seems to default to z10, should that be bumped to z13?
std::string systemz::getSystemZTargetCPU(const ArgList &Args) { if (const Arg *A = Args.getLastArg(clang::driver::options::OPT_march_EQ)) { llvm::StringRef CPUName = A->getValue(); if (CPUName == "native") { std::string CPU = llvm::sys::getHostCPUName(); if (!CPU.empty() && CPU != "generic") return CPU; else return ""; } return CPUName; } return "z10"; } Unless march was specified, it seems like clang defaults to z10, should that be bumped to z13? ** Affects: ubuntu-z-systems Importance: High Assignee: bugproxy (bugproxy) Status: Triaged ** Affects: llvm-toolchain-10 (Ubuntu) Importance: Undecided Status: New ** Tags: reverse-proxy-bugzilla s390x -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1864226 Title: clang seems to default to z10, should that be bumped to z13? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1864226/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs