[all-commits] [llvm/llvm-project] e7afa2: [mlir] Use 'native' instead of 'llvm_has_native_ta...

Stella Stamenova via All-commits all-commits at lists.llvm.org
Mon May 23 12:38:53 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7afa23366f5f94be968f84fb9ef14fe7156135b
      https://github.com/llvm/llvm-project/commit/e7afa23366f5f94be968f84fb9ef14fe7156135b
  Author: Stella Stamenova <stilis at microsoft.com>
  Date:   2022-05-23 (Mon, 23 May 2022)

  Changed paths:
    M mlir/test/CAPI/execution_engine.c
    M mlir/test/lit.cfg.py
    M mlir/test/mlir-cpu-runner/lit.local.cfg
    M mlir/test/python/execution_engine.py

  Log Message:
  -----------
  [mlir] Use 'native' instead of 'llvm_has_native_target' in the mlir tests

The tests actually require the target triple to match the host, rather than just having the host in the list of available targets. This change removes `llvm_has_native_target` and instead uses the `native` feature from the lit configuration.

Reviewed By: stellaraccident

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




More information about the All-commits mailing list