[all-commits] [llvm/llvm-project] c37838: C API: support scalable vectors

Craig Disselkoen via All-commits all-commits at lists.llvm.org
Wed Oct 28 15:19:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c3783847ae67d31aece461458d8510b8bd0469c3
      https://github.com/llvm/llvm-project/commit/c3783847ae67d31aece461458d8510b8bd0469c3
  Author: Craig Disselkoen <craigdissel at gmail.com>
  Date:   2020-10-28 (Wed, 28 Oct 2020)

  Changed paths:
    M llvm/include/llvm-c/Core.h
    M llvm/lib/IR/Core.cpp
    M llvm/test/Bindings/llvm-c/echo.ll
    M llvm/tools/llvm-c-test/echo.cpp

  Log Message:
  -----------
  C API: support scalable vectors

This adds support for scalable vector types in the C API and in
llvm-c-test, and also adds a test to ensure that llvm-c-test can properly
roundtrip operations involving scalable vectors.

While creating this diff, I discovered that the C API cannot properly roundtrip
_constant expressions_ involving shufflevector / scalable vectors, but that
seems to be a separate enough issue that I plan to address it in a future diff
(unless reviewers feel it should be addressed here).

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




More information about the All-commits mailing list