Prevent extra calls to ToggleFeature for Feature64Bit and FeatureCMOV if they've...
authorCraig Topper <craig.topper@gmail.com>
Wed, 18 Sep 2013 06:01:53 +0000 (06:01 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 18 Sep 2013 06:01:53 +0000 (06:01 +0000)
commit42848553918540e90f77de3c70b5f1ff1dc2be9f
tree32cf64151eb6ce3ea93725561d9528a1de452f1e
parent773c07606e61c5090d73ea1317a0d1b0c29ec023
Prevent extra calls to ToggleFeature for Feature64Bit and FeatureCMOV if they've already been enabled. The extra call ends up clearing the bit in FeatureBits since its a 'toggle'. Can't prove that anything was broken because of this since I don't think the FeatureBits for these are used.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190920 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86Subtarget.cpp