[all-commits] [llvm/llvm-project] 5e30c7: [mlir] Use the process (host) triple in MLIRTarget...

Stella Stamenova via All-commits all-commits at lists.llvm.org
Wed Oct 18 18:48:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e30c74309c36984db3eea29f6c9c4ecec38de38
      https://github.com/llvm/llvm-project/commit/5e30c74309c36984db3eea29f6c9c4ecec38de38
  Author: Stella Stamenova <stilis at microsoft.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M mlir/unittests/Target/LLVM/SerializeToLLVMBitcode.cpp

  Log Message:
  -----------
  [mlir] Use the process (host) triple in MLIRTargetLLVMTests (#69538)

The test is meant to execute on the native target and only initializes
the native target. However, it then gets the default target triple
instead of the process (host) triple. This fails in cases where the
native target and the default target are not the same.

The test was added here: https://reviews.llvm.org/D154100




More information about the All-commits mailing list