]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Pull in r223147, r223255 and r223390 from upstream llvm trunk (by Roman
authorDimitry Andric <dim@FreeBSD.org>
Tue, 9 Dec 2014 20:41:51 +0000 (20:41 +0000)
committerDimitry Andric <dim@FreeBSD.org>
Tue, 9 Dec 2014 20:41:51 +0000 (20:41 +0000)
commit3f0ad6cf3cc63d405c4047758320cfd2f943d7f3
tree4d2e9e9cc8d5593a9402d78c7e8343d1e2748105
parentee287c9033efda594bd13721a9f13a26dad2b49c
Pull in r223147, r223255 and r223390 from upstream llvm trunk (by Roman
Divacky):

  Introduce CPUStringIsValid() into MCSubtargetInfo and use it for ARM
  .cpu parsing.

  Previously .cpu directive in ARM assembler didnt switch to the new
  CPU and therefore acted as a nop. This implemented real action for
  .cpu and eg. allows to assembler FreeBSD kernel with -integrated-as.

  Change the name to be in style.

  Add a FIXME as requested by Renato Golin.
contrib/llvm/include/llvm/MC/MCSubtargetInfo.h
contrib/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp