[X86] AMD znver2 enablement
authorGanesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
Tue, 26 Feb 2019 16:55:10 +0000 (16:55 +0000)
committerGanesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
Tue, 26 Feb 2019 16:55:10 +0000 (16:55 +0000)
commite172d7008d0c12eaa9ee2aee16ee4e13c176553c
tree8beb77f4f6a28e4e3c230c29202395f175c7a3ac
parentc110b5b69f19700939a56d08218dfb0abb577af9
[X86] AMD znver2 enablement

This patch enables the following

1) AMD family 17h "znver2" tune flag (-march, -mcpu).
2) ISAs that are enabled for "znver2" architecture.
3) For the time being, it uses the znver1 scheduler model.
4) Tests are updated.
5) Scheduler descriptions are yet to be put in place.

Reviewers: craig.topper

Differential Revision: https://reviews.llvm.org/D58343

llvm-svn: 354897
llvm/include/llvm/Support/X86TargetParser.def
llvm/lib/Support/Host.cpp
llvm/lib/Target/X86/X86.td
llvm/test/CodeGen/X86/cpus-amd.ll
llvm/test/CodeGen/X86/lzcnt-zext-cmp.ll
llvm/test/CodeGen/X86/slow-unaligned-mem.ll
llvm/test/CodeGen/X86/x86-64-double-shifts-var.ll