[all-commits] [llvm/llvm-project] 89ba15: [X86] Add knownbits tests showing missing shift am...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Jan 13 06:12:28 PST 2020


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

  Changed paths:
    M llvm/test/CodeGen/X86/combine-shl.ll
    M llvm/test/CodeGen/X86/known-bits-vector.ll

  Log Message:
  -----------
  [X86] Add knownbits tests showing missing shift amount demanded elts handling.


  Commit: 6d1a8fd447934387605ea11d35e1b62866b7d093
      https://github.com/llvm/llvm-project/commit/6d1a8fd447934387605ea11d35e1b62866b7d093
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/X86/combine-shl.ll
    M llvm/test/CodeGen/X86/known-bits-vector.ll

  Log Message:
  -----------
  [SelectionDAG] ComputeKnownBits - Add DemandedElts support to getValidShiftAmountConstant/getValidMinimumShiftAmountConstant()


  Commit: 376bc39c829fab7ad14424c5418c03ed6649d839
      https://github.com/llvm/llvm-project/commit/376bc39c829fab7ad14424c5418c03ed6649d839
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

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

  Log Message:
  -----------
  [SelectionDAG] ComputeNumSignBits - Use getValidShiftAmountConstant for shift opcodes

getValidShiftAmountConstant handles out of bounds shift amounts for us, allowing us to remove the local handling.


Compare: https://github.com/llvm/llvm-project/compare/6a634a5dba84...376bc39c829f


More information about the All-commits mailing list