[DAG] Update expandFunnelShift/expandROT to return the expansion directly. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 7 Dec 2021 17:57:32 +0000 (17:57 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 7 Dec 2021 18:09:43 +0000 (18:09 +0000)
commit52d2f353235d17c279178a0c9f697c9bafece06e
treee0039be799b9da805eedbe8e185e4ff59155c7ce
parent5c7e783ebe41936e653ff5232344bd28777e3ceb
[DAG] Update expandFunnelShift/expandROT to return the expansion directly. NFCI.

Don't return a bool to indicate if the expansion was successful, just return the SDValue result directly, like we do for most other basic expansions.
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp