[all-commits] [llvm/llvm-project] d42711: [ARM] Creating 'call_mangled' for Neon intrinsics ...

Lucas Duarte Prates via All-commits all-commits at lists.llvm.org
Thu Mar 19 05:05:59 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d42711625af8188edb15c8ddad8c861fbca89c17
      https://github.com/llvm/llvm-project/commit/d42711625af8188edb15c8ddad8c861fbca89c17
  Author: Lucas Prates <lucas.prates at arm.com>
  Date:   2020-03-19 (Thu, 19 Mar 2020)

  Changed paths:
    M clang/include/clang/Basic/arm_neon_incl.td
    M clang/utils/TableGen/NeonEmitter.cpp

  Log Message:
  -----------
  [ARM] Creating 'call_mangled' for Neon intrinsics definitions

Summary:
As multiple versions of the same Neon intrinsic can be created through
the same TableGen definition with the same argument types, the existing
`call` operator is not always able to properly perform overload
resolutions.

As these different intrinsic versions are differentiated later on by the
NeonEmitter through name mangling, this patch introduces a new
`call_mangled` operator to the TableGen definitions, which allows a call
for an otherwise ambiguous intrinsic by matching its mangled name with
the mangled variation of the caller.

Reviewers: jmolloy, t.p.northover, rsmith, olista01, dnsampaio

Reviewed By: dnsampaio

Subscribers: dnsampaio, kristof.beyls, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list