[all-commits] [llvm/llvm-project] e9a06e: [VFABI] Read/Write functions for the VFABI attribute.

Francesco Petrogalli via All-commits all-commits at lists.llvm.org
Mon Nov 11 19:49:43 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e9a06e06064145e0baf723187ab023dd91e914f9
      https://github.com/llvm/llvm-project/commit/e9a06e06064145e0baf723187ab023dd91e914f9
  Author: Francesco Petrogalli <francesco.petrogalli at arm.com>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M llvm/include/llvm/Analysis/VectorUtils.h
    M llvm/include/llvm/Transforms/Utils/ModuleUtils.h
    M llvm/lib/Analysis/VFABIDemangling.cpp
    M llvm/lib/Analysis/VectorUtils.cpp
    M llvm/lib/Transforms/Utils/ModuleUtils.cpp
    M llvm/unittests/Analysis/VectorFunctionABITest.cpp
    M llvm/unittests/Transforms/Utils/CMakeLists.txt
    A llvm/unittests/Transforms/Utils/VFABIUtils.cpp

  Log Message:
  -----------
  [VFABI] Read/Write functions for the VFABI attribute.

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.

Differential Revision: https://reviews.llvm.org/D69976




More information about the All-commits mailing list