[all-commits] [llvm/llvm-project] 084433: [X86][CostModel] Add sext/zext from vXi1 tests to ...

topperc via All-commits all-commits at lists.llvm.org
Sat Apr 25 23:16:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 084433702dd3617cf3365db5a012168719c02fa3
      https://github.com/llvm/llvm-project/commit/084433702dd3617cf3365db5a012168719c02fa3
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-04-25 (Sat, 25 Apr 2020)

  Changed paths:
    M llvm/test/Analysis/CostModel/X86/min-legal-vector-width.ll

  Log Message:
  -----------
  [X86][CostModel] Add sext/zext from vXi1 tests to min-legal-vector-width.ll. NFC

We aren't properly costing extends from k-registers. I also added
command lines without avx512bw to be able to show all the different
extending strategies we have.


  Commit: 19cb26f51760ec17be5f7aefbf4160127f575da1
      https://github.com/llvm/llvm-project/commit/19cb26f51760ec17be5f7aefbf4160127f575da1
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-04-25 (Sat, 25 Apr 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/cast.ll
    M llvm/test/Analysis/CostModel/X86/extend.ll
    M llvm/test/Analysis/CostModel/X86/min-legal-vector-width.ll

  Log Message:
  -----------
  [X86][CostModel] Improve costs for vXi1 sign_extend/zero_extend with avx512.

With avx512 vXi1 is legal and uses k-registers with many custom cases
for extending.


  Commit: b9de62c2b69e3b6342045ae82e1532d4f70c6d34
      https://github.com/llvm/llvm-project/commit/b9de62c2b69e3b6342045ae82e1532d4f70c6d34
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-04-25 (Sat, 25 Apr 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/extend.ll
    M llvm/test/Analysis/CostModel/X86/min-legal-vector-width.ll

  Log Message:
  -----------
  [X86] Fix the cost of v16i1->v16i16 sext/zext on avx targets.

Previously we were hitting the scalarization case in the default
implementation.


Compare: https://github.com/llvm/llvm-project/compare/e69605bfb6dd...b9de62c2b69e


More information about the All-commits mailing list