[LLVMbugs] [Bug 24326] New: Auto-detect CPU on native compilation

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jul 31 05:18:42 PDT 2015


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

            Bug ID: 24326
           Summary: Auto-detect CPU on native compilation
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: renato.golin at linaro.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

As of r243656, we're detecting the CPU and adding the default target features
for -mcpu=native, but it would be good to not need to set it native if we're
running the compiler on an ARM device.

We should assume -mcpu=native whenever the triple or -march are not chosen, or
are also "native".

-- 
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/20150731/f82a9d0c/attachment.html>


More information about the llvm-bugs mailing list