File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
llvm/lib/Target/ARM/AsmParser Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -9168,14 +9168,13 @@ bool ARMAsmParser::parseDirectiveCPU(SMLoc L) {
9168
9168
StringRef CPU = getParser ().parseStringToEndOfStatement ().trim ();
9169
9169
getTargetStreamer ().emitTextAttribute (ARMBuildAttrs::CPU_name, CPU);
9170
9170
9171
+ // FIXME: This is using table-gen data, but should be moved to
9172
+ // ARMTargetParser once that is table-gen'd.
9171
9173
if (!STI.isCPUStringValid (CPU)) {
9172
9174
Error (L, " Unknown CPU name" );
9173
9175
return false ;
9174
9176
}
9175
9177
9176
- // FIXME: This switches the CPU features globally, therefore it might
9177
- // happen that code you would not expect to assemble will. For details
9178
- // see: http://llvm.org/bugs/show_bug.cgi?id=20757
9179
9178
STI.InitMCProcessorInfo (CPU, " " );
9180
9179
STI.InitCPUSchedModel (CPU);
9181
9180
setAvailableFeatures (ComputeAvailableFeatures (STI.getFeatureBits ()));
You can’t perform that action at this time.
0 commit comments