https://bugs.llvm.org/show_bug.cgi?id=35993

            Bug ID: 35993
           Summary: Write a TargetMachine creation API to replace
                    EngineBuilder
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: OrcJIT
          Assignee: unassignedb...@nondot.org
          Reporter: lha...@gmail.com
                CC: llvm-bugs@lists.llvm.org

ORC layers / components often need access to an llvm::TargetMachine (e.g. the
SimpleComplier class requires one). To date we've been relying on
EngineBuilder::selectTarget from ExecutionEngine, but this has a couple of
drawbacks: the interface and implementation are designed around
ExecutionEngine's assumptions (i.e. you're building an ExecutionEngine
subclass, that subclass might be an interpreter, etc.). The code is also older
and doesn't do any CPU feature detection.

We should design a new interface for building TargetMachines for LLVM JITs. It
should be clean, able to support CPU feature detection, and ideally efficiently
queryable from a remote machine (for remote execution).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to