diff options
| author | Renato Golin <renato.golin@linaro.org> | 2015-05-30 10:44:07 +0000 |
|---|---|---|
| committer | Renato Golin <renato.golin@linaro.org> | 2015-05-30 10:44:07 +0000 |
| commit | 5d78c9ce58334bbdde3ce14ddbf203710e216174 (patch) | |
| tree | d70a148dab611e823aeeb0ddf1474e8656c1e211 /llvm/lib/Target/ARM/AsmParser | |
| parent | cb58910ce8a9467fefa08b03966309c25b4c961c (diff) | |
| download | bcm5719-llvm-5d78c9ce58334bbdde3ce14ddbf203710e216174.tar.gz bcm5719-llvm-5d78c9ce58334bbdde3ce14ddbf203710e216174.zip | |
Comment change. NFC
That comment misleads the current discussions in mentioned bug. Leave
the discussions to the bug. Also, adding a future change FIXME.
llvm-svn: 238653
Diffstat (limited to 'llvm/lib/Target/ARM/AsmParser')
| -rw-r--r-- | llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 08e24e7b1f5..f965cb5400d 100644 --- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -9168,14 +9168,13 @@ bool ARMAsmParser::parseDirectiveCPU(SMLoc L) { StringRef CPU = getParser().parseStringToEndOfStatement().trim(); getTargetStreamer().emitTextAttribute(ARMBuildAttrs::CPU_name, CPU); + // FIXME: This is using table-gen data, but should be moved to + // ARMTargetParser once that is table-gen'd. if (!STI.isCPUStringValid(CPU)) { Error(L, "Unknown CPU name"); return false; } - // FIXME: This switches the CPU features globally, therefore it might - // happen that code you would not expect to assemble will. For details - // see: http://llvm.org/bugs/show_bug.cgi?id=20757 STI.InitMCProcessorInfo(CPU, ""); STI.InitCPUSchedModel(CPU); setAvailableFeatures(ComputeAvailableFeatures(STI.getFeatureBits())); |

