diff options
author | Paschalis Mpeis <paschalis.mpeis@arm.com> | 2023-12-11 11:20:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-11 11:20:47 +0000 |
commit | 3c1e7fb95e44b6dbec4c0b3c262d91aeb7865d10 (patch) | |
tree | b6fc7b960f33979790c7bb5495aa0bc6a811e7f5 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | dbee36c523dc3e04bb7d5d9cade392601b86fac4 (diff) | |
download | llvm-3c1e7fb95e44b6dbec4c0b3c262d91aeb7865d10.zip llvm-3c1e7fb95e44b6dbec4c0b3c262d91aeb7865d10.tar.gz llvm-3c1e7fb95e44b6dbec4c0b3c262d91aeb7865d10.tar.bz2 |
[VFABI] Improve VFABI unit tests (#73907)
The below changes were made:
- test the vector and scalar names, the ISA, and the presence or absence of a
mask in all tests that is relevant
- test the number of the parameters, the order/types and for masks if present
- replaced methods like `sin` to `foo` to make it more clear that these are not
existing functions but they are rather tests.
- using mostly `i32` for parameters where it is not relevant, except when the VF
of elements in explicitly checked, and `ptr` for references.
Also using `void` for return types.
- all `VFABIParserTest` tests are now listed contiguously in the source.
- Removed duplicate ISA tests
- Added an extra test to clearly show that the mangled name becomes the
VectorName, when no VectorName is specified.
- Use `VFInfo` for `isMasked`
- Minor code refactoring, cleanup, and improved comments
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions