[all-commits] [llvm/llvm-project] 25bbff: [PowerPC] Provide MMA builtins for compatibility

ahsansaghir via All-commits all-commits at lists.llvm.org
Fri May 7 07:10:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25bbff632d018d178272a61c0732203d53d3a2e3
      https://github.com/llvm/llvm-project/commit/25bbff632d018d178272a61c0732203d53d3a2e3
  Author: Ahsan Saghir <saghir at ca.ibm.com>
  Date:   2021-05-07 (Fri, 07 May 2021)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsPPC.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/CodeGen/builtins-ppc-pair-mma.c

  Log Message:
  -----------
  [PowerPC] Provide MMA builtins for compatibility

Vector pair intrinsics and builtins were renamed in
https://reviews.llvm.org/D91974 to replace the _mma_ prefix by _vsx_.
However, some projects used the _mma_ version, so this patch adds
these intrinsics to provide compatibility.

Fixes Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=50159

Reviewed By: nemanjai, amyk

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




More information about the All-commits mailing list