[all-commits] [llvm/llvm-project] 537025: [RISCV] Merge Masked and unMasked RVV manual codegen
Piyou Chen via All-commits
all-commits at lists.llvm.org
Wed Dec 21 20:36:54 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5370255ff18ac101a73685b77615148142ee7552
https://github.com/llvm/llvm-project/commit/5370255ff18ac101a73685b77615148142ee7552
Author: Piyou Chen <piyou.chen at sifive.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M clang/include/clang/Basic/riscv_vector.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/utils/TableGen/RISCVVEmitter.cpp
Log Message:
-----------
[RISCV] Merge Masked and unMasked RVV manual codegen
RVV intrinsic function will generate riscv_vector_builtin_cg.inc for CGBuiltin.cpp to produce the corresponding RVV intrinsic LLVM IR.
In this stage, riscv_vector.td will describe the bunch of manual codegen C++ code to tell CGBuiltin how to handle these instructions.
In this patch, we merge the masked RVV manual codegen and unmasked RVV manual codegen to reduce the number of manual codegen, and make more policy addition easier in the future.
This is a clean-up job that will not affect the RVV intrinsic functionality.
Reviewed By: kito-cheng
Differential Revision: https://reviews.llvm.org/D140361
More information about the All-commits
mailing list