[all-commits] [llvm/llvm-project] 810b8f: [X86] Replace unnecessary CVTPS2PI/CVTPS2DQ overri...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Nov 9 09:12:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 810b8fdff92ae8c234041234fdc1a175c3eb1ff9
      https://github.com/llvm/llvm-project/commit/810b8fdff92ae8c234041234fdc1a175c3eb1ff9
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-11-09 (Wed, 09 Nov 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86SchedBroadwell.td
    M llvm/lib/Target/X86/X86SchedHaswell.td
    M llvm/test/tools/llvm-mca/X86/Broadwell/resources-avx1.s
    M llvm/test/tools/llvm-mca/X86/Haswell/resources-avx1.s

  Log Message:
  -----------
  [X86] Replace unnecessary CVTPS2PI/CVTPS2DQ overrides with better base class defs

Broadwell/Haswell were completely overriding the WriteCvtPD2I class defs - we can remove those overrides entirely by just choosing better class defs.

Also fixes the scheduler for a missing YMM folded case - confirmed with Agner + uops.info that the port usage is correct




More information about the All-commits mailing list