[SelectionDAG] Add an overload of getStepVector that assumes step 1.
authorEli Friedman <efriedma@quicinc.com>
Mon, 12 Jul 2021 22:11:01 +0000 (15:11 -0700)
committerEli Friedman <efriedma@quicinc.com>
Wed, 14 Jul 2021 18:37:01 +0000 (11:37 -0700)
commit1e30bf8621cc123a7afba3246a36187c5ce3c836
tree88c1036aa5b5f434c2841b4d2d3e86a9ed7545bd
parent970e0900104d6f67a9c15fa9c913cf3eeba5d06a
[SelectionDAG] Add an overload of getStepVector that assumes step 1.

This is mostly a minor convenience, but the pattern seems frequent
enough to be worthwhile (and we'll probably add more uses in the
future).

Differential Revision: https://reviews.llvm.org/D105850
llvm/include/llvm/CodeGen/SelectionDAG.h
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp