[mlir][tensor] Fix gcc build (ValueBoundsOpInterface)
authorMatthias Springer <springerm@google.com>
Fri, 7 Apr 2023 01:33:13 +0000 (10:33 +0900)
committerMatthias Springer <springerm@google.com>
Fri, 7 Apr 2023 01:42:27 +0000 (10:42 +0900)
commit06d0cd1e81c19cecedbf86356bc7bfb532a1ea80
tree996ff5e01d0f6dfa2ce9e89cac60f26e7316f701
parent5e2afe5c665ab3ea344a9c3fb34c6b9930a9094d
[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.
mlir/lib/Dialect/Tensor/IR/ValueBoundsOpInterfaceImpl.cpp