SuccessChanges

Summary

  1. [llvm-readobj] - Dump the ELF file type better. (details)
  2. [RISCV] Add intrinsics for vfwmacc, vfwnmacc, vfwmsac, vfwnmsac instructions (details)
Commit bdef1f87aba656a64b34f76d2a6613b6e9299a03 by grimar
[llvm-readobj] - Dump the ELF file type better.

Currently llvm-readelf might print "OS Specific/Processor Specific/<unknown>"
hint when dumping the ELF file type. The patch teaches llvm-readobj to do the same.

This fixes https://bugs.llvm.org/show_bug.cgi?id=40868

I am removing `Object/elf-unknown-type.test` test because it is not in the right place,
it is outdated and very limited.
The `readobj/ELF/file-types.test` checks the functionality much better.

Differential revision: https://reviews.llvm.org/D93689
The file was removedllvm/test/Object/elf-unknown-type.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/test/tools/llvm-readobj/ELF/file-types.test
Commit 6301871d06d6ea0195b5ea3b53288dcfe229557a by shihpo.hung
[RISCV] Add intrinsics for vfwmacc, vfwnmacc, vfwmsac, vfwnmsac instructions

This patch defines vfwmacc, vfwnmacc, vfwmsc, vfwnmsac intrinsics
and lower to V instructions.
We work with @rogfer01 from BSC to come out this patch.

Authored-by: Roger Ferrer Ibanez <rofirrim@gmail.com>
Co-Authored-by: ShihPo Hung <shihpo.hung@sifive.com>

Differential Revision: https://reviews.llvm.org/D93693
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwnmacc-rv32.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsRISCV.td
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwnmsac-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwmsac-rv64.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwmsac-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwmacc-rv32.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwnmsac-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwmacc-rv64.ll
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwnmacc-rv64.ll