aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorPiyou Chen <piyou.chen@sifive.com>2022-12-20 01:12:57 -0800
committerPiyou Chen <piyou.chen@sifive.com>2022-12-20 01:13:13 -0800
commit0d4c6506100b339311283c10d841d7693287666a (patch)
tree5943cdb2c3224efccd6edd1d19151827b03c9c21 /llvm/lib/Support/CommandLine.cpp
parent74cca964a653190d37101116c80d38907228021a (diff)
downloadllvm-0d4c6506100b339311283c10d841d7693287666a.zip
llvm-0d4c6506100b339311283c10d841d7693287666a.tar.gz
llvm-0d4c6506100b339311283c10d841d7693287666a.tar.bz2
[RISCV] Refactor RVV Policy by structure
RVV intrinsic function has several policy variants. Include TU, TA, TAMU, TAMA, TUMU, TUMA, MU, MA, TUM, TAM Currently, the clang side enumerates these policies, but it's hard to add a new policy. This patch use structure to replace the origin policy enumeration, and enhance some policy transform logic. This is a clean-up job that will not affect the RVV intrinsic functionality and make sure riscv_vector_builtin_cg.inc is the same as the original one. Reviewed By: kito-cheng Differential Revision: https://reviews.llvm.org/D139995
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions