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

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:
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 <>
Co-Authored-by: ShihPo Hung <>

Differential Revision:
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwnmacc-rv32.ll
The file was modifiedllvm/include/llvm/IR/
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/
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