[all-commits] [llvm/llvm-project] 3efc97: [LV] Add abs/smin/smax/umin/umax intrinsics to isT...

topperc via All-commits all-commits at lists.llvm.org
Wed Jul 29 10:23:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3efc978baede3ffb4616774e3d1c722fe4128ef5
      https://github.com/llvm/llvm-project/commit/3efc978baede3ffb4616774e3d1c722fe4128ef5
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M llvm/lib/Analysis/VectorUtils.cpp
    M llvm/test/Transforms/LoopVectorize/intrinsic.ll

  Log Message:
  -----------
  [LV] Add abs/smin/smax/umin/umax intrinsics to isTriviallyVectorizable

This patch adds support for vectorizing these intrinsics.

Differential Revision: https://reviews.llvm.org/D84796


  Commit: c4823b24a41b9e3552af7781e05ed1784fb84f46
      https://github.com/llvm/llvm-project/commit/c4823b24a41b9e3552af7781e05ed1784fb84f46
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/fp-roundeven.ll
    M llvm/test/CodeGen/X86/fp-strict-scalar-round.ll

  Log Message:
  -----------
  [X86] Add custom lowering for llvm.roundeven with sse4.1.

We can use the roundss/sd/ps/pd instructions like we do for
ceil/floor/trunc/rint/nearbyint.

Differential Revision: https://reviews.llvm.org/D84592


Compare: https://github.com/llvm/llvm-project/compare/71d0a2b8a313...c4823b24a41b


More information about the All-commits mailing list