Rever 96389 and 96990. They are causing some miscompilation that I do not fully understand.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97782 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2010-03-05 03:08:23 +00:00
parent b6b343d77a
commit 26e19ba9aa
3 changed files with 4 additions and 66 deletions

View File

@@ -1,19 +1,10 @@
; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
; RUN: llc < %s -march=x86-64 | FileCheck %s
; Full strength reduction wouldn't reduce register pressure, so LSR should
; stick with indexing here.
; Also checks andps and andnps shares the same constantpool. Previously llvm
; will codegen two andps, one using 0x80000000, the other 0x7fffffff.
; rdar://7323335
; CHECK: movaps LCPI1_0
; CHECK: movaps LCPI1_1
; CHECK-NOT: movaps LCPI1_2
; CHECK: movaps (%rsi,%rax,4), %xmm2
; CHECK: andps
; CHECK: andnps
; CHECK: movaps %xmm2, (%rdi,%rax,4)
; CHECK: movaps (%rsi,%rax,4), %xmm3
; CHECK: movaps %xmm3, (%rdi,%rax,4)
; CHECK: addq $4, %rax
; CHECK: cmpl %eax, (%rdx)
; CHECK-NEXT: jg