[PATCH] D72781: [Matrix] Add __builtin_matrix_column_load to Clang.

Florian Hahn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 8 14:58:51 PDT 2020


fhahn updated this revision to Diff 269363.
fhahn added a comment.

Updated to

- use DefaultFunctionArrayLvalueConversion for pointer conversion, use getAs<PointerType> subsequently
- return Context.DependentTy if any part of the result matrix type is still type-dependent
- add assertion & todo for volatile
- pass string arguments to diagnostics instead of magic integers


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72781/new/

https://reviews.llvm.org/D72781

Files:
  clang/include/clang/AST/Type.h
  clang/include/clang/Basic/Builtins.def
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/include/clang/Sema/Sema.h
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/lib/Sema/SemaChecking.cpp
  clang/lib/Sema/SemaExpr.cpp
  clang/test/CodeGen/matrix-type-builtins.c
  clang/test/CodeGenCXX/matrix-type-builtins.cpp
  clang/test/CodeGenObjC/matrix-type-builtins.m
  clang/test/Sema/matrix-type-builtins.c
  clang/test/SemaCXX/matrix-type-builtins.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72781.269363.patch
Type: text/x-patch
Size: 31283 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200608/c7260102/attachment-0001.bin>


More information about the cfe-commits mailing list