OSDN Git Service

[X86] Tag LZCNT/TZCNT instructions scheduler classes
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 7 Dec 2017 15:24:14 +0000 (15:24 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 7 Dec 2017 15:24:14 +0000 (15:24 +0000)
commita3ea5549ccb262948357826015158cd4d245fc9d
treec5dd27dde88f39641475cc39dc938bfa90b66b9f
parentc36b1d69e04825be748b676d26167ed35a18a929
[X86] Tag LZCNT/TZCNT instructions scheduler classes

Tagged as IMUL instructions for a reasonable approximation (ALU tends to be a lot faster) - POPCNT is currently tagged as FAdd which I think should be replaced with IMUL as well

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320051 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86Schedule.td
test/CodeGen/X86/bmi-schedule.ll
test/CodeGen/X86/lzcnt-schedule.ll