[PATCH] D91819: [PowerPC] Enable paired vector type and intrinsics when MMA is disabled

Baptiste Saleil via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 19 13:27:38 PST 2020


bsaleil created this revision.
bsaleil added reviewers: nemanjai, saghir, amyk, lei.
bsaleil added projects: PowerPC, LLVM, clang.
Herald added subscribers: llvm-commits, cfe-commits, dexonsmith, shchenz, arphaman, martong, kbarton, hiraditya.
Herald added a reviewer: shafik.
bsaleil requested review of this revision.

This patch enables the Clang type `__vector_pair` and its associated LLVM intrinsics even when MMA is disabled. With this patch, the type is now controller by the PPC `paired-vector-memops` option. The builtins and intrinsics will be renamed to drop the `mma` prefix in another patch.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91819

Files:
  clang/include/clang/AST/ASTContext.h
  clang/include/clang/AST/Type.h
  clang/include/clang/AST/TypeProperties.td
  clang/include/clang/Basic/PPCTypes.def
  clang/include/clang/Serialization/ASTBitCodes.h
  clang/lib/AST/ASTContext.cpp
  clang/lib/AST/ASTImporter.cpp
  clang/lib/AST/ExprConstant.cpp
  clang/lib/AST/ItaniumMangle.cpp
  clang/lib/AST/MicrosoftMangle.cpp
  clang/lib/AST/NSAPI.cpp
  clang/lib/AST/PrintfFormatString.cpp
  clang/lib/AST/Type.cpp
  clang/lib/AST/TypeLoc.cpp
  clang/lib/CodeGen/CGDebugInfo.cpp
  clang/lib/CodeGen/CodeGenTypes.cpp
  clang/lib/CodeGen/ItaniumCXXABI.cpp
  clang/lib/Index/USRGeneration.cpp
  clang/lib/Sema/Sema.cpp
  clang/lib/Sema/SemaChecking.cpp
  clang/lib/Sema/SemaExpr.cpp
  clang/lib/Serialization/ASTCommon.cpp
  clang/lib/Serialization/ASTReader.cpp
  clang/test/AST/ast-dump-ppc-mma-types.c
  clang/test/AST/ast-dump-ppc-types.c
  clang/tools/libclang/CIndex.cpp
  llvm/lib/Target/PowerPC/PPCInstrPrefix.td
  llvm/test/CodeGen/PowerPC/paired-vector-intrinsics-without-mma.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91819.306519.patch
Type: text/x-patch
Size: 21667 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201119/5771b338/attachment.bin>


More information about the llvm-commits mailing list