[RISCV][NFC] Replace for-each with array argument call.
authorjacquesguan <Jianjian.Guan@streamcomputing.com>
Thu, 12 May 2022 08:20:02 +0000 (08:20 +0000)
committerjacquesguan <Jianjian.Guan@streamcomputing.com>
Mon, 16 May 2022 02:12:48 +0000 (02:12 +0000)
commita8426ada49e873852ab31d406ee767541099f90f
tree5fb006c95aa80be749c4bcd3f3eb77f81fbd7b78
parent3bef90dff64fc717c5d5e33a4d5fb47a4566d04a
[RISCV][NFC] Replace for-each with array argument call.

This patch replaces some for-each set with the new arrayref argument API, since it already used an array in defination, I think this change won't cause any ambiguity.

Differential Revision: https://reviews.llvm.org/D125455
llvm/lib/Target/RISCV/RISCVISelLowering.cpp