Reinitialize the ivars in the subtarget so that they can be reset with the new features.
authorBill Wendling <isanbard@gmail.com>
Sat, 16 Feb 2013 01:36:26 +0000 (01:36 +0000)
committerBill Wendling <isanbard@gmail.com>
Sat, 16 Feb 2013 01:36:26 +0000 (01:36 +0000)
commit901d80065c9afa0ba33e8546c2e1e99a00aceb14
tree8bd7d0f8c5682eca8d318d78626b5018cc2f2acb
parentb56606274d43c7a3e01b18a08d1115fbf2889996
Reinitialize the ivars in the subtarget so that they can be reset with the new features.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175336 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMSubtarget.cpp
lib/Target/ARM/ARMSubtarget.h
lib/Target/X86/X86Subtarget.cpp
lib/Target/X86/X86Subtarget.h
test/CodeGen/X86/subtarget-feature-change.ll