[all-commits] [llvm/llvm-project] 216ef5: [MLIR][NFC] Fix for VS2017 bug.

Frank Laub via All-commits all-commits at lists.llvm.org
Tue Mar 3 17:08:07 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 216ef5b9abb85a8116366dfa1bd712c988e08cb0
      https://github.com/llvm/llvm-project/commit/216ef5b9abb85a8116366dfa1bd712c988e08cb0
  Author: Frank Laub <frank.laub at intel.com>
  Date:   2020-03-03 (Tue, 03 Mar 2020)

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

  Log Message:
  -----------
  [MLIR][NFC] Fix for VS2017 bug.

Apparently there is a bug in VS2017 concerning compile-time constant
expressions.
https://developercommunityapi.westus.cloudapp.azure.com/content/problem/110435/not-compile-time-constant-expression.html

This change works with any C++11 compiler (including VS2017) and is a little bit
easier to read.

Reviewers: stella.stamenova, nicolasvasilache

Tags: #llvm

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




More information about the All-commits mailing list