[LLVMbugs] [Bug 17121] New: Introduce lookup of Arch by CPU

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 6 08:55:02 PDT 2013


            Bug ID: 17121
           Summary: Introduce lookup of Arch by CPU
           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

CPU names across different architectures are pretty unique, so it should be
possible to detect the architecture given an -mcpu=foo flag. Today, Clang
ignores if the CPU is not part of the host's list.

It should be simple to introduce a lookup of CPU strings as a static method in
each architecture core class, so that the main driver can build the correct
Target object from a CPU identification.

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/20130906/f11379b8/attachment.html>

More information about the llvm-bugs mailing list