ARM: further correct .fpu directive handling
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 30 Jan 2015 19:35:18 +0000 (19:35 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 30 Jan 2015 19:35:18 +0000 (19:35 +0000)
commit7a3c3f3a968b4dbc7e620b2c42558df5a112002c
treedae1dee1f4c7435ca1972050c594a89f3d47c29c
parent88f1329e8c4150eb9b271c31c79b2b904cde954d
ARM: further correct .fpu directive handling

If the original FPU specification involved a restricted VFP unit (d16), ensure
that we reset the functionality when we encounter a new FPU type.  In
particular, if the user specified vfpv3-d16, but switched to a VFPv3 (which has
32 double precision registers), we would fail to reset the D16 feature, and
treat it as being equivalent to vfpv3-d16.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227603 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/pr22395-2.s [new file with mode: 0644]