[all-commits] [llvm/llvm-project] 8533e7: [X86] Try to sync HSW + BDW model class defs to si...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Aug 22 05:03:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8533e782ef2d28c3cf26685f8261968d66703b3a
      https://github.com/llvm/llvm-project/commit/8533e782ef2d28c3cf26685f8261968d66703b3a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-08-22 (Sun, 22 Aug 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86SchedBroadwell.td
    M llvm/lib/Target/X86/X86SchedHaswell.td

  Log Message:
  -----------
  [X86] Try to sync HSW + BDW model class defs to simplify comparisons. NFC.

Broadwell is mainly a die shrink of Haswell, but the model had many of the scheduling classes in different orders, making side-by-side comparisons very difficult.

The InstRW overrides are still quite different, but at least that part of the side-by-side diff is now in the same position.

This was noticed while I was trying to investigate diffs between llvm-mca and other perf analyzers in https://uica.uops.info/ - we used to be able to do diffs between most of the models very easily, but we seem to have lost that simplicity as classes have been altered, models have been refined and other models have rotted.




More information about the All-commits mailing list