[all-commits] [llvm/llvm-project] 680931: [Matrix] Adjust matrix pointer type for inline asm...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Nov 18 03:45:00 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 680931af2757fb495c5727d335ffa580fb3dbe98
      https://github.com/llvm/llvm-project/commit/680931af2757fb495c5727d335ffa580fb3dbe98
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-11-18 (Wed, 18 Nov 2020)

  Changed paths:
    M clang/lib/CodeGen/CGStmt.cpp
    M clang/test/CodeGen/matrix-type.c

  Log Message:
  -----------
  [Matrix] Adjust matrix pointer type for inline asm arguments.

Matrix types in memory are represented as arrays, but accessed through
vector pointers, with the alignment specified on the access operation.

For inline assembly, update pointer arguments to use vector pointers.
Otherwise there will be a mis-match if the matrix is also an
input-argument which is represented as vector.

Reviewed By: nickdesaulniers

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




More information about the All-commits mailing list