[mlir][SystemZ] Fix incompatible datalayout in SystemZ
authorHaruki Imai <imaihal@jp.ibm.com>
Wed, 20 May 2020 03:29:16 +0000 (03:29 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Wed, 20 May 2020 03:46:26 +0000 (03:46 +0000)
commit9f2ce5b915a505a5488a5cf91bb0a8efa9ddfff7
tree7fba4d7445ef4d80d1021d33c9cba0c3e94c991d
parent8d0fdd44eef636398193d7337380f6f0d5125d62
[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
mlir/lib/ExecutionEngine/ExecutionEngine.cpp