mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-29 07:53:31 +00:00
cda351e1b3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106575 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
220 B
LLVM
13 lines
220 B
LLVM
; RUN: llc -march=x86 -mattr=+sse < %s | FileCheck %s
|
|
; CHECK: divss
|
|
; CHECK: divps
|
|
; CHECK: divps
|
|
|
|
%vec = type <9 x float>
|
|
define %vec @vecdiv( %vec %p1, %vec %p2)
|
|
{
|
|
%result = fdiv %vec %p1, %p2
|
|
ret %vec %result
|
|
}
|
|
|