[X86] Add CBW/CDQ/CDQE/CQO/CWD/CWDE to WriteALU schedule class
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 15 Nov 2017 17:11:24 +0000 (17:11 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 15 Nov 2017 17:11:24 +0000 (17:11 +0000)
commit56415772d681d6a0181bc583fdc6d10d7a519a57
tree4d322da01ac9bdd8b3b0afd306acbd0ca890615c
parent572a87c76f1880b473273e3a4464e2fe0cd2539e
[X86] Add CBW/CDQ/CDQE/CQO/CWD/CWDE to WriteALU schedule class

Some CPUs are already overriding these sign extension instructions but we should be able to use the WriteALU schedule class by default.

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

llvm-svn: 318308
llvm/lib/Target/X86/X86InstrExtension.td
llvm/lib/Target/X86/X86SchedSandyBridge.td
llvm/test/CodeGen/X86/schedule-x86_64.ll