mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-18 09:29:31 +00:00
another v2f32 case, in this case showing poor codegen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107614 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c06cbad141
commit
11b3d1621d
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=x86-64 -asm-verbose=0 -o - | FileCheck %s -check-prefix=X64
|
||||
; RUN: llc < %s -march=x86-64 -mcpu=penryn -asm-verbose=0 -o - | FileCheck %s -check-prefix=X64
|
||||
; RUN: llc < %s -mcpu=yonah -march=x86 -asm-verbose=0 -o - | FileCheck %s -check-prefix=X32
|
||||
|
||||
; PR7518
|
||||
@ -22,3 +22,18 @@ define void @test1(<2 x float> %Q, float *%P2) nounwind {
|
||||
; X32-NEXT: ret
|
||||
}
|
||||
|
||||
|
||||
define <2 x float> @test2(<2 x float> %Q, <2 x float> %R, <2 x float> *%P) nounwind {
|
||||
%Z = fadd <2 x float> %Q, %R
|
||||
ret <2 x float> %Z
|
||||
|
||||
; X64: test2:
|
||||
; X64-NEXT: insertps $0
|
||||
; X64-NEXT: insertps $16
|
||||
; X64-NEXT: insertps $0
|
||||
; X64-NEXT: insertps $16
|
||||
; X64-NEXT: addps
|
||||
; X64-NEXT: movaps
|
||||
; X64-NEXT: pshufd
|
||||
; X64-NEXT: ret
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user