mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
Do not emit "generic" CPU string. This fixes PR4291.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72696 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
41b33f437f
commit
d260c248ab
@ -820,7 +820,9 @@ bool ARMAsmPrinter::doInitialization(Module &M) {
|
||||
// Emit ARM Build Attributes
|
||||
if (Subtarget->isTargetELF()) {
|
||||
// CPU Type
|
||||
O << "\t.cpu " << Subtarget->getCPUString() << '\n';
|
||||
std::string CPUString = Subtarget->getCPUString();
|
||||
if (CPUString != "generic")
|
||||
O << "\t.cpu " << CPUString << '\n';
|
||||
|
||||
// FIXME: Emit FPU type
|
||||
if (Subtarget->hasVFP2())
|
||||
|
Loading…
x
Reference in New Issue
Block a user