X86: when we are auto-detecting the subtarget features, make sure we turn on
authorManman Ren <mren@apple.com>
Fri, 10 Aug 2012 23:43:32 +0000 (23:43 +0000)
committerManman Ren <mren@apple.com>
Fri, 10 Aug 2012 23:43:32 +0000 (23:43 +0000)
commit743a2cff0422031da007bcdc70ced28c09057aea
treef0c095097969d0d24518d4a56bd8a6d0e03d42cf
parenteb74c08192d9c9425b2d8cf08852e9e787a87881
X86: when we are auto-detecting the subtarget features, make sure we turn on
FeatureFastUAMem for Nehalem, Westmere and Sandy Bridge.

FeatureFastUAMem is already on if we pass in nehalem or westmere as a command
argument.

rdar: 7252306

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161717 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86Subtarget.cpp
test/CodeGen/X86/alignment-2.ll