[X86] Introduce more common modern tunings into `generic`
authorPhoebe Wang <phoebe.wang@intel.com>
Sat, 5 Feb 2022 01:49:54 +0000 (09:49 +0800)
committerPhoebe Wang <phoebe.wang@intel.com>
Sat, 5 Feb 2022 02:31:30 +0000 (10:31 +0800)
commit0b7669f33331b7af157be4de02ab9dcbc2590dc2
tree44ef2e0faa05238f298f02b8b57d9b5772a38b4b
parent997f2a56dea16a8b0a8827ca00cbaa21fbcd2338
[X86] Introduce more common modern tunings into `generic`

GCC has updated its generic `-mtune` to haswell. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81616
Update it to match with GCC.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D118534
llvm/lib/Target/X86/X86.td
llvm/test/CodeGen/X86/segmented-stacks-dynamic.ll
llvm/test/CodeGen/X86/twoaddr-lea.ll
llvm/test/MC/X86/x86-directive-nops-errors.s