Reinitialize the ivars in the subtarget.
authorBill Wendling <isanbard@gmail.com>
Fri, 15 Feb 2013 23:18:01 +0000 (23:18 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 15 Feb 2013 23:18:01 +0000 (23:18 +0000)
commita060d0efd8e50b618f9904591e6a17d22f218d08
treeb426ab278862c2d7455902b06f94ccfdbacb5dcb
parent5ae72088300ffff7c08c7c43884ad29d6f441b04
Reinitialize the ivars in the subtarget.

When we're recalculating the feature set of the subtarget, we need to have the
ivars in their initial state.

llvm-svn: 175320
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 [new file with mode: 0644]