Add a FIXME as requested by Renato Golin.
authorRoman Divacky <rdivacky@freebsd.org>
Thu, 4 Dec 2014 21:39:24 +0000 (21:39 +0000)
committerRoman Divacky <rdivacky@freebsd.org>
Thu, 4 Dec 2014 21:39:24 +0000 (21:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223390 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/AsmParser/ARMAsmParser.cpp

index f291fe4a4dd49c622163dbdf52c700d3338b36d9..b080c92820f452b668ffe27783d21397719195b9 100644 (file)
@@ -9111,6 +9111,9 @@ bool ARMAsmParser::parseDirectiveCPU(SMLoc L) {
     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);
   unsigned FB = ComputeAvailableFeatures(STI.getFeatureBits());