[LLVMbugs] [Bug 19510] New: MCJIT should provide a mechanism for detecting the target and cpu type based on the host.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 22 10:38:40 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19510

            Bug ID: 19510
           Summary: MCJIT should provide a mechanism for detecting the
                    target and cpu type based on the host.
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: atrick at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

MCJIT currently defaults to the triple used to configure LLVM. See
LLVM_HOST_TRIPLE.

For the cpu type, MCJIT simply defaults to cpu="generic", which is not
necessarily valid for all targets.

We should provide an API to simple, portable JITs that don't want to know about
LLVM triples and CPU types. For these in-process, or at least same-system JITs,
we should be able to set a reasonable triple and cpu for the target based on
the host.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140422/0f9f1d11/attachment.html>


More information about the llvm-bugs mailing list