Sign in
swiftshader
/
SwiftShader
/
609b4e6e86d6555c4af0ea51a2d1eb54bc7b36d6
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
Transforms
/
InstCombine
/
2008-11-27-IDivVector.ll
blob: 318a80cbc2a472a104c3c50ad8fb67b3e591b42f [
file
] [
log
] [
blame
]
; RUN: opt < %s -instcombine -S | not grep div
define
<
2
x
i8
>
@f
(<
2
x
i8
>
%x
)
{
%A
=
udiv
<
2
x
i8
>
%x
,
<
i8
1
,
i8
1
>
ret
<
2
x
i8
>
%A
}
define
<
2
x
i8
>
@g
(<
2
x
i8
>
%x
)
{
%A
=
sdiv
<
2
x
i8
>
%x
,
<
i8
1
,
i8
1
>
ret
<
2
x
i8
>
%A
}