[all-commits] [llvm/llvm-project] b5b466: OptimizationRemarkEmitter.h - reduce unnecessary F...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Jun 22 04:41:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b5b46601c0177ea214e7f95d5090f764c8f6e30a
      https://github.com/llvm/llvm-project/commit/b5b46601c0177ea214e7f95d5090f764c8f6e30a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-06-22 (Mon, 22 Jun 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h

  Log Message:
  -----------
  OptimizationRemarkEmitter.h - reduce unnecessary Function.h include to forward declaration. NFC.


  Commit: ecc5d7ee0d2caf34ff53788aa58dc87c6ef9efba
      https://github.com/llvm/llvm-project/commit/ecc5d7ee0d2caf34ff53788aa58dc87c6ef9efba
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-06-22 (Mon, 22 Jun 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/X86/known-signbits-vector.ll

  Log Message:
  -----------
  [DAG] SimplifyMultipleUseDemandedBits - drop unnecessary *_EXTEND_VECTOR_INREG cases

For little endian targets, if we only need the lowest element and none of the extended bits then we can just use the (bitcasted) source vector directly.

We already do this in SimplifyDemandedBits, this adds the SimplifyMultipleUseDemandedBits equivalent.


Compare: https://github.com/llvm/llvm-project/compare/cde2dc2fa6ca...ecc5d7ee0d2c


More information about the All-commits mailing list