[all-commits] [llvm/llvm-project] 06d0cd: [mlir][tensor] Fix gcc build (ValueBoundsOpInterface)

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Apr 6 18:42:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06d0cd1e81c19cecedbf86356bc7bfb532a1ea80
      https://github.com/llvm/llvm-project/commit/06d0cd1e81c19cecedbf86356bc7bfb532a1ea80
  Author: Matthias Springer <springerm at google.com>
  Date:   2023-04-07 (Fri, 07 Apr 2023)

  Changed paths:
    M mlir/lib/Dialect/Tensor/IR/ValueBoundsOpInterfaceImpl.cpp

  Log Message:
  -----------
  [mlir][tensor] Fix gcc build (ValueBoundsOpInterface)

The order of evaluation of a sum (e.g., `a() + b()`) is unspecified in
C++. clang evaluates left-to-right. gcc evaluate right-to-left. This led
to slighly different (but equivalent) affine_map in a test and the
FileCheck did not match anymore.




More information about the All-commits mailing list