[all-commits] [llvm/llvm-project] b7050c: [mlir] Fix build on Windows on Arm

Diana via All-commits all-commits at lists.llvm.org
Thu Sep 23 00:07:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7050c791d8951c0a099bf162f9ab3a696611b7d
      https://github.com/llvm/llvm-project/commit/b7050c791d8951c0a099bf162f9ab3a696611b7d
  Author: Diana Picus <diana.picus at linaro.org>
  Date:   2021-09-23 (Thu, 23 Sep 2021)

  Changed paths:
    M mlir/tools/mlir-tblgen/RewriterGen.cpp

  Log Message:
  -----------
  [mlir] Fix build on Windows on Arm

clang-cl errors out while handling the templated version of tgfmt. This
patch works around the issue by explicitly choosing the non-templated
version of tgfmt, which takes an ArrayRef<std::string>.

More details in this thread:
https://lists.llvm.org/pipermail/cfe-dev/2021-September/068936.html

Thanks @Mehdi Amini for suggesting the fix :)

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




More information about the All-commits mailing list