[all-commits] [llvm/llvm-project] 2a0c08: [mlir][MemRef] fix error message in ReinterpretCas...

Felix S via All-commits all-commits at lists.llvm.org
Tue Apr 11 08:38:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a0c0849747425b570561e6bd9869843131a880d
      https://github.com/llvm/llvm-project/commit/2a0c0849747425b570561e6bd9869843131a880d
  Author: Felix Schneider <fx.schn at gmail.com>
  Date:   2023-04-11 (Tue, 11 Apr 2023)

  Changed paths:
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/test/Dialect/MemRef/invalid.mlir

  Log Message:
  -----------
  [mlir][MemRef] fix error message in ReinterpretCastOp::verify

The error message that is displayed when the offset in the MemRefType of
the Op's result is unexpected was the wrong way around, mixing up
expected and actual offset.

Reviewed By: ftynse

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




More information about the All-commits mailing list