http://llvm.org/bugs/show_bug.cgi?id=17121
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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs