[all-commits] [llvm/llvm-project] 8922ad: [Orc] Honor hasJIT in JITTargetMachineBuilder::cre...

rorth via All-commits all-commits at lists.llvm.org
Thu Jul 14 23:21:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8922adf646eead207fb367dace80bba2abfab2ad
      https://github.com/llvm/llvm-project/commit/8922adf646eead207fb367dace80bba2abfab2ad
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2022-07-15 (Fri, 15 Jul 2022)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp

  Log Message:
  -----------
  [Orc] Honor hasJIT in JITTargetMachineBuilder::createTargetMachine

Even with D129349 <https://reviews.llvm.org/D129349>, various SPARC JIT
tests still `FAIL`.  They are guarded by `host-supports-jit`.  This is set
from `clang-repl --host-supports-jit` which still returns `true`.  It turns
out the `JITTargetMachineBuilder` doesn't consider `hasJIT` at all.

This patch corrects this, turning the affected tests `UNSUPPORTED`.

Tested on `sparcv9-sun-solaris2.11`.

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




More information about the All-commits mailing list