[PATCH] D69976: [VFABI] Read/Write functions for the VFABI attribute.

Francesco Petrogalli via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 7 16:19:16 PST 2019


fpetrogalli created this revision.
fpetrogalli added reviewers: sdesmalen, fhahn, jdoerfert, simoll.
fpetrogalli added a project: LLVM.
Herald added subscribers: llvm-commits, hiraditya, mgorny.
fpetrogalli added reviewers: ABataev, rengolin, hfinkel.

The attribute is stored at the `FunctionIndex` attribute set, with the name "vector-function-abi-variant".

The get/set methods of the attribute have assertion to verify that:

1. Each name in the attribute is a valid VFABI mangled name.
2. Each name in the attribute correspond to a function declared in the module.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69976

Files:
  llvm/include/llvm/Analysis/VectorUtils.h
  llvm/include/llvm/Transforms/Utils/ModuleUtils.h
  llvm/lib/Analysis/VFABIDemangling.cpp
  llvm/lib/Analysis/VectorUtils.cpp
  llvm/lib/Transforms/Utils/ModuleUtils.cpp
  llvm/unittests/Analysis/VectorFunctionABITest.cpp
  llvm/unittests/Transforms/Utils/CMakeLists.txt
  llvm/unittests/Transforms/Utils/VFABIUtils.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69976.228334.patch
Type: text/x-patch
Size: 11158 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191108/a40fb65a/attachment.bin>


More information about the llvm-commits mailing list