[all-commits] [llvm/llvm-project] ed8076: [DAG] Split BuildVectorSDNode::getConstantRawBits ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Nov 10 05:09:03 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed80761b507b65fd12b6e6d30d479c8e56747b8d
      https://github.com/llvm/llvm-project/commit/ed80761b507b65fd12b6e6d30d479c8e56747b8d
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-11-10 (Wed, 10 Nov 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  -----------
  [DAG] Split BuildVectorSDNode::getConstantRawBits into BuildVectorSDNode::recastRawBits helper. NFC.

NFC refactor of D113351, pulling out the APInt split/merge code from the BuildVectorSDNode bits extraction into a BuildVectorSDNode::recastRawBits helper. This is to allow us to reuse the code when we're packing constant folded APInt data back together.




More information about the All-commits mailing list