[DAG] FoldConstantArithmetic - rename NumOps -> NumElts. NFC.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 5 Nov 2021 13:18:53 +0000 (13:18 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 5 Nov 2021 13:32:34 +0000 (13:32 +0000)
commitf2703c3c3353031de8de8c465a59d31488b11fb3
tree5ef059c01b241014e37bfca06a2d37f8ded60dc3
parenta160aba95fefb0f50f6f194492a5b8eb15adf670
[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.
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp