diff options
author | Manman Ren <mren@apple.com> | 2012-08-10 23:43:32 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2012-08-10 23:43:32 +0000 |
commit | 1acb6707cd3dc41916dce6b5dc0fe0324fe98622 (patch) | |
tree | a4d3d90f208e68587f607c566443188a06991fb0 /llvm/test/CodeGen/X86/alignment-2.ll | |
parent | 8179bcac556c9e18c473a82634dc6d8add977a63 (diff) | |
download | bcm5719-llvm-1acb6707cd3dc41916dce6b5dc0fe0324fe98622.tar.gz bcm5719-llvm-1acb6707cd3dc41916dce6b5dc0fe0324fe98622.zip |
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
llvm-svn: 161717
Diffstat (limited to 'llvm/test/CodeGen/X86/alignment-2.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/alignment-2.ll | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/alignment-2.ll b/llvm/test/CodeGen/X86/alignment-2.ll index cc709b52d93..1f9e85cbb76 100644 --- a/llvm/test/CodeGen/X86/alignment-2.ll +++ b/llvm/test/CodeGen/X86/alignment-2.ll @@ -18,7 +18,9 @@ define signext i8 @do_lo_list() nounwind optsize ssp { bb: ; CHECK: do_lo_list -; CHECK-NOT: movaps +; Make sure we do not use movaps for the global variable. +; It is okay to use movaps for writing the local variable on stack. +; CHECK-NOT: movaps {{[0-9]*}}(%{{[a-z]*}}), {{%xmm[0-9]}} %myopt = alloca %struct.printQueryOpt, align 4 %tmp = bitcast %struct.printQueryOpt* %myopt to i8* call void @llvm.memcpy.p0i8.p0i8.i32(i8* %tmp, i8* bitcast (%struct.printQueryOpt* getelementptr inbounds (%struct._psqlSettings* @pset, i32 0, i32 4) to i8*), i32 76, i32 4, i1 false) |