[all-commits] [llvm/llvm-project] 55f727: [LLVM-C] Turn a ShuffleVector Constant Into a Getter.

Robert Widmann via All-commits all-commits at lists.llvm.org
Sat Sep 26 16:33:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 55f727306e727ea9f013d09c9b8aa70dbce6a1bd
      https://github.com/llvm/llvm-project/commit/55f727306e727ea9f013d09c9b8aa70dbce6a1bd
  Author: Robert Widmann <devteam.codafi at gmail.com>
  Date:   2020-09-26 (Sat, 26 Sep 2020)

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

  Log Message:
  -----------
  [LLVM-C] Turn a ShuffleVector Constant Into a Getter.

It is not a good idea to expose raw constants in the LLVM C API. Replace this with an explicit getter.

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




More information about the All-commits mailing list