[X86] Use generic tuning for "x86-64" if "tune-cpu" is not specified
authorPhoebe Wang <phoebe.wang@intel.com>
Fri, 15 Jul 2022 01:31:56 +0000 (09:31 +0800)
committerPhoebe Wang <phoebe.wang@intel.com>
Fri, 15 Jul 2022 02:05:08 +0000 (10:05 +0800)
commit190518da4b6b3f4cfb4081b7e110d8a3b9080cc5
treefd9516a182e794795c23de76365b2d24ad0c0265
parentd8c817a9cdf478b21462101e603b0ad0e91f024a
[X86] Use generic tuning for "x86-64" if "tune-cpu" is not specified

This is an alternative to D129154. See discussions on https://discourse.llvm.org/t/fast-scalar-fsqrt-tuning-in-x86/63605

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D129647
llvm/lib/Target/X86/X86.td
llvm/lib/Target/X86/X86TargetMachine.cpp
llvm/test/CodeGen/X86/pow.ll
llvm/test/CodeGen/X86/sqrt-fastmath-tune.ll
llvm/test/CodeGen/X86/sqrt-fastmath-tunecpu-attr.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/sqrt-fastmath.ll
llvm/test/CodeGen/X86/x86-cmov-converter.ll
llvm/test/DebugInfo/COFF/register-variables.ll