[RISCV] Rework gather/scatter DAG combine structure [NFC]
Instead of switching on type before and after common code, use a helper function. This matches the style of DAGCombine.cpp more closely, and makes porting candidate changes from one place to the other much easier.
Loading
Please sign in to comment