HomePhabricator

[mlir] Fix adding wrong operand value in `promoteMemRefDescriptors`.

Authored by pifon2a on Aug 4 2020, 4:34 AM.

Description

[mlir] Fix adding wrong operand value in promoteMemRefDescriptors.

The bug was not noticed because we didn't have a lot of custom type conversions
directly to LLVM dialect.

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