ARM: correct toggling behaviour
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 17 Aug 2014 19:20:38 +0000 (19:20 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 17 Aug 2014 19:20:38 +0000 (19:20 +0000)
commit70d641fbecf2ce54fd3578890c94888fad254238
treeaf70737a04e9fcc62cd272a695bb1d58bd1dfd2d
parent78e8d52a5879597cafb75d18ae60bb3c92e742be
ARM: correct toggling behaviour

This was a thinko.  The intent was to flip the explicit bits that need toggling
rather than all bits.  This would result in incorrect behaviour (which now is
tested).

Thanks to Nico Weber for pointing this out!

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