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)
commit61375d8953dfeeae3e397824dd392f62ecf08526
treed089a23f35a22d70d5f889a62cae9f24b3cfb8e2
parent9ed04aa7acc6c6be01bd609a6f40b43d094b88a2
Reinitialize the ivars in the subtarget so that they can be reset with the new features.

llvm-svn: 175336
llvm/lib/Target/ARM/ARMSubtarget.cpp
llvm/lib/Target/ARM/ARMSubtarget.h
llvm/lib/Target/X86/X86Subtarget.cpp
llvm/lib/Target/X86/X86Subtarget.h
llvm/test/CodeGen/X86/subtarget-feature-change.ll