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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to