[NFC][Clang][RISCV] Reduce for-loop with SmallVector utility
authoreopXD <yueh.ting.chen@gmail.com>
Sun, 25 Dec 2022 15:38:01 +0000 (07:38 -0800)
committereopXD <yueh.ting.chen@gmail.com>
Mon, 26 Dec 2022 06:57:51 +0000 (22:57 -0800)
commit904a79f99153d9d8ed67beeed82a0f910bb000fd
tree757b45549fc3761caa67bb38f83798f7db2c04f0
parentd5a5ee856e7ccd442ad22168c56ff77197255cbe
[NFC][Clang][RISCV] Reduce for-loop with SmallVector utility

As topic, this commit reduces the for-loops with utilities of SmallVector.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D140661
clang/include/clang/Basic/riscv_vector.td
clang/lib/Support/RISCVVIntrinsicUtils.cpp