HomePhabricator

[mlir][SystemZ] Fix incompatible datalayout in SystemZ

Authored by imaihal on Tue, May 19, 8:29 PM.

Description

[mlir][SystemZ] Fix incompatible datalayout in SystemZ

MLIR tests in "mlir/test/mlir-cpu-runner" fails in SystemZ (z14) because
of incompatible datalayout error. This patch fixes it by setting host
CPU name in createTargetMachine()

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