[all-commits] [llvm/llvm-project] c3ead8: [RISCV][clang] Support RISC-V vectors in Uninitial...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Oct 24 12:39:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3ead85e2f1c94b9be40d6c24532f2b932c8bfc7
      https://github.com/llvm/llvm-project/commit/c3ead85e2f1c94b9be40d6c24532f2b932c8bfc7
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M clang/include/clang/AST/Type.h
    M clang/lib/Analysis/UninitializedValues.cpp
    A clang/test/Sema/uninit-variables-riscv-vector.c

  Log Message:
  -----------
  [RISCV][clang] Support RISC-V vectors in UninitializedValues.

RISC-V vectors are basically vectors, but we use builtin types to
restrict the possible types. Treat them the same as vectors and scalars
for this analysis.

Reviewed By: reames

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




More information about the All-commits mailing list