[PATCH] D66024: [SVFS] Vector Function ABI name demangler.

Francesco Petrogalli via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 11:07:18 PDT 2019


fpetrogalli updated this revision to Diff 219745.
fpetrogalli added a comment.

In this new patch I have:

1. Fixed a build failure of the fuzzer (I forgot to apply the interface changes of the last diff).
2. Add `ASSERT_DEATH` testing for invalid names.
3. Add testing to make sure `<scalarname>` is always present in the string.
4. Add testing to make sure that `<vectorname>` is present when the opening `(` is parsed.
5. Add testing to make sure that the string terminates with `)` when `<vectorname>` is present.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66024/new/

https://reviews.llvm.org/D66024

Files:
  llvm/include/llvm/Analysis/VectorUtils.h
  llvm/lib/Analysis/CMakeLists.txt
  llvm/lib/Analysis/VFABIDemangling.cpp
  llvm/tools/vfabi-demangle-fuzzer/CMakeLists.txt
  llvm/tools/vfabi-demangle-fuzzer/vfabi-demangler-fuzzer.cpp
  llvm/unittests/Analysis/CMakeLists.txt
  llvm/unittests/Analysis/VectorFunctionABITest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66024.219745.patch
Type: text/x-patch
Size: 35799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190911/422ff7c3/attachment.bin>


More information about the llvm-commits mailing list