Sign in
llvm
/
llvm-project
/
llvm
/
b72b4128f221fd5086a1ae46aba7b2fcbf0d6384
/
.
/
test
/
Transforms
/
InstCombine
/
2008-11-27-IDivVector.ll
blob: 0ed52a29c1dcc4cb7f621c6ecb6888242b7e862a [
file
] [
log
] [
blame
]
; RUN: opt < %s -passes=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
}