[all-commits] [llvm/llvm-project] f21f83: [X86] Improve demanded bits for X86ISD::BEXTR.

topperc via All-commits all-commits at lists.llvm.org
Wed Sep 23 10:52:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f21f835ee8e52f128281697d66f8b11a50a6d5dd
      https://github.com/llvm/llvm-project/commit/f21f835ee8e52f128281697d66f8b11a50a6d5dd
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-09-23 (Wed, 23 Sep 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/tbm-intrinsics.ll

  Log Message:
  -----------
  [X86] Improve demanded bits for X86ISD::BEXTR.

If the control is constant we can figure out exactly which bits
of the input are demanded.

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


  Commit: 7a3c643c35590df67716dfe3e3c60195ae385e43
      https://github.com/llvm/llvm-project/commit/7a3c643c35590df67716dfe3e3c60195ae385e43
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-09-23 (Wed, 23 Sep 2020)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP] Make HorizontalReduction::getOperationData take an Instruction* instead of a Value*. NFCI

All of the callers already have an Instruction *. Many of them
from a dyn_cast.

Also update the OperationData constructor to use a Instruction&
to remove a dyn_cast and make it clear that the pointer is non-null.

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


Compare: https://github.com/llvm/llvm-project/compare/aca7105db9ae...7a3c643c3559


More information about the All-commits mailing list