[all-commits] [llvm/llvm-project] 8bd7e4: Replace separator in OpenMP variant name mangling.

Lukas Sommer via All-commits all-commits at lists.llvm.org
Wed Jun 3 13:36:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8bd7e4188a096b063065aac70ce39129c479f124
      https://github.com/llvm/llvm-project/commit/8bd7e4188a096b063065aac70ce39129c479f124
  Author: Lukas Sommer <sommer at esa.tu-darmstadt.de>
  Date:   2020-06-03 (Wed, 03 Jun 2020)

  Changed paths:
    M clang/include/clang/AST/Decl.h
    M clang/lib/AST/OpenMPClause.cpp
    A clang/test/OpenMP/nvptx_declare_variant_name_mangling.cpp

  Log Message:
  -----------
  Replace separator in OpenMP variant name mangling.

Summary:
Nvidia PTX does not allow `.` to appear in identifiers, so OpenMP variant mangling now uses `$` to separate segments of the mangled name for variants of functions declared via `declare variant`.

Reviewers: jdoerfert, Hahnfeld

Reviewed By: jdoerfert

Subscribers: yaxunl, guansong, sstefan1, cfe-commits

Tags: #openmp, #clang

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




More information about the All-commits mailing list