[all-commits] [llvm/llvm-project] e45959: Temporarily Revert "[mlir] Add padding to 1-D Vect...

Eric Christopher via All-commits all-commits at lists.llvm.org
Mon Mar 2 14:47:30 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e459596917a72f11bd8251a81bdb521401abdd3d
      https://github.com/llvm/llvm-project/commit/e459596917a72f11bd8251a81bdb521401abdd3d
  Author: Eric Christopher <echristo at gmail.com>
  Date:   2020-03-02 (Mon, 02 Mar 2020)

  Changed paths:
    M mlir/include/mlir/ExecutionEngine/CRunnerUtils.h
    M mlir/include/mlir/ExecutionEngine/RunnerUtils.h

  Log Message:
  -----------
  Temporarily Revert "[mlir] Add padding to 1-D Vector in CRunnerUtils.h"
as it broke the Werror build:

.../sources/llvm-project/mlir/include/mlir/ExecutionEngine/CRunnerUtils.h:85:16: error: zero size arrays are an extension [-Werror,-Wzero-length-array]
  char padding[detail::nextPowerOf2<sizeof(T[Dim])>() - sizeof(T[Dim])];
               ^~~~~~~~~~~~~~~

This reverts commit 78f9e5d098af95610f4542ee41479d7931261066.




More information about the All-commits mailing list