[all-commits] [llvm/llvm-project] b93816: [X86] Lower the cost of v4i64->v4i32 truncate with...

topperc via All-commits all-commits at lists.llvm.org
Fri May 1 11:10:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b938168aef995f8d9b6695a0dc0ef71c25b71968
      https://github.com/llvm/llvm-project/commit/b938168aef995f8d9b6695a0dc0ef71c25b71968
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-05-01 (Fri, 01 May 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/X86/arith-fix.ll
    M llvm/test/Analysis/CostModel/X86/arith-overflow.ll
    M llvm/test/Analysis/CostModel/X86/cast.ll
    M llvm/test/Analysis/CostModel/X86/trunc.ll

  Log Message:
  -----------
  [X86] Lower the cost of v4i64->v4i32 truncate with avx512.

We use the vpmovqd instruction which is a single uop. So
the cost should be 1.




More information about the All-commits mailing list