[all-commits] [llvm/llvm-project] ef6e12: [ORC] Add a CPU getter to JITTargetMachineBuilder.

lhames via All-commits all-commits at lists.llvm.org
Wed May 19 13:31:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef6e1213b1c0af387fe13754e02a14f3d31018a0
      https://github.com/llvm/llvm-project/commit/ef6e1213b1c0af387fe13754e02a14f3d31018a0
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-05-19 (Wed, 19 May 2021)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/JITTargetMachineBuilder.h

  Log Message:
  -----------
  [ORC] Add a CPU getter to JITTargetMachineBuilder.


  Commit: 1dfa47910a2332a351ebc5236b4e2bfb3562c23b
      https://github.com/llvm/llvm-project/commit/1dfa47910a2332a351ebc5236b4e2bfb3562c23b
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-05-19 (Wed, 19 May 2021)

  Changed paths:
    M compiler-rt/lib/orc/CMakeLists.txt
    A compiler-rt/lib/orc/error.h
    M compiler-rt/lib/orc/unittests/CMakeLists.txt
    A compiler-rt/lib/orc/unittests/error_test.cpp

  Log Message:
  -----------
  [ORC-RT] Add ORC runtime error and expected types.

These will be used for error propagation and handling in the ORC runtime.

The implementations of these types are cut-down versions of the error
support in llvm/Support/Error.h. Most advice on llvm::Error and llvm::Expected
(e.g. from the LLVM Programmer's manual) applies equally to __orc_rt::Error
and __orc_rt::Expected. The primary difference is the mechanism for testing
and handling error types: The ORC runtime uses a new 'error_cast' operation
to replace the handleErrors family of functions. See error_cast comments in
error.h.


Compare: https://github.com/llvm/llvm-project/compare/30a5ddaef3e8...1dfa47910a23


More information about the All-commits mailing list