[RISCV][CodeGen] Support Zhinx and Zhinxmin
authorQihan Cai <qcai8733@uni.sydney.edu.au>
Fri, 12 May 2023 08:29:30 +0000 (18:29 +1000)
committerQihan Cai <qcai8733@uni.sydney.edu.au>
Fri, 12 May 2023 08:31:35 +0000 (18:31 +1000)
commit773b0aaa49170a97b4de7968c4b6dbc7673aba23
treeb1462b500ead68cf1a295bed71a996769ea26c4f
parente6112b6108796f62c30e222804dbf44120e438d2
[RISCV][CodeGen] Support Zhinx and Zhinxmin

This patch was split from D122918.

Co-Author: @liaolucy @sunshaoce

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D149811
36 files changed:
llvm/docs/RISCVUsage.rst
llvm/lib/Target/RISCV/RISCVFeatures.td
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td
llvm/lib/Target/RISCV/RISCVSubtarget.h
llvm/test/CodeGen/RISCV/half-arith-strict.ll
llvm/test/CodeGen/RISCV/half-arith.ll
llvm/test/CodeGen/RISCV/half-bitmanip-dagcombines.ll
llvm/test/CodeGen/RISCV/half-br-fcmp.ll
llvm/test/CodeGen/RISCV/half-convert-strict.ll
llvm/test/CodeGen/RISCV/half-convert.ll
llvm/test/CodeGen/RISCV/half-fcmp-strict.ll
llvm/test/CodeGen/RISCV/half-fcmp.ll
llvm/test/CodeGen/RISCV/half-frem.ll
llvm/test/CodeGen/RISCV/half-imm.ll
llvm/test/CodeGen/RISCV/half-intrinsics.ll
llvm/test/CodeGen/RISCV/half-isnan.ll
llvm/test/CodeGen/RISCV/half-mem.ll
llvm/test/CodeGen/RISCV/half-round-conv-sat.ll
llvm/test/CodeGen/RISCV/half-round-conv.ll
llvm/test/CodeGen/RISCV/half-select-fcmp.ll
llvm/test/CodeGen/RISCV/half-select-icmp.ll
llvm/test/CodeGen/RISCV/rv64zfh-half-convert-strict.ll
llvm/test/CodeGen/RISCV/rv64zfh-half-convert.ll
llvm/test/CodeGen/RISCV/rv64zfh-half-intrinsics.ll
llvm/test/CodeGen/RISCV/rv64zfhmin-half-convert-strict.ll
llvm/test/CodeGen/RISCV/rv64zfhmin-half-convert.ll
llvm/test/CodeGen/RISCV/rv64zfhmin-half-intrinsics.ll
llvm/test/CodeGen/RISCV/zfh-half-intrinsics-strict.ll
llvm/test/CodeGen/RISCV/zfh-half-intrinsics.ll
llvm/test/CodeGen/RISCV/zfh-imm.ll
llvm/test/CodeGen/RISCV/zfhmin-half-intrinsics-strict.ll
llvm/test/CodeGen/RISCV/zfhmin-half-intrinsics.ll
llvm/test/CodeGen/RISCV/zfhmin-imm.ll