[all-commits] [llvm/llvm-project] f2703c: [DAG] FoldConstantArithmetic - rename NumOps -> Nu...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Nov 5 06:33:02 PDT 2021


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

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

  Log Message:
  -----------
  [DAG] FoldConstantArithmetic - rename NumOps -> NumElts. NFC.

NumOps represents the number of elements for vector constant folding, rename this NumElts so in future we can the consistently use NumOps to represent the number of operands of the opcode.

Minor cleanup before trying to begin generalizing FoldConstantArithmetic to support opcodes other than binops.




More information about the All-commits mailing list