[all-commits] [llvm/llvm-project] 98da49: [SelectionDAG] Compute Known + Sign Bits - merge I...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Jan 23 03:30:51 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 98da49d979198366d4710ac65a3786b9a8f3b4c1
      https://github.com/llvm/llvm-project/commit/98da49d979198366d4710ac65a3786b9a8f3b4c1
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-01-23 (Thu, 23 Jan 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  -----------
  [SelectionDAG] Compute Known + Sign Bits - merge INSERT_SUBVECTOR known/unknown index paths

Match the approach in SimplifyDemandedBits where we calculate the demanded elts and then have a common path for the ComputeKnownBits/ComputeNumSignBits call, additionally we only ever need original demanded elts of the base vector even if the index is unknown.


  Commit: 03cae086f41c48a971329dc5a1f4a76c1c6af036
      https://github.com/llvm/llvm-project/commit/03cae086f41c48a971329dc5a1f4a76c1c6af036
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-01-23 (Thu, 23 Jan 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  -----------
  [SelectionDAG] ComputeKnownBits - merge EXTRACT_VECTOR_ELT known/unknown index paths

Match the approach in SimplifyDemandedBits/ComputeNumSignBits where we calculate the demanded elts and then have a common path for the ComputeKnownBits call.


Compare: https://github.com/llvm/llvm-project/compare/e6b0ce70bdd8...03cae086f41c


More information about the All-commits mailing list