Sign in
swiftshader
/
SwiftShader
/
38a9b3c41707a92362fd32c085cc6b901a9ac51e
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
Transforms
/
InstSimplify
/
2011-02-01-Vector.ll
blob: 3cbbf350ec1282eafc9fe755ac75f7dd17074aa4 [
file
] [
log
] [
blame
]
; RUN: opt < %s -instsimplify -S | FileCheck %s
define
<
2
x
i32
>
@sdiv
(<
2
x
i32
>
%x
)
{
; CHECK-LABEL: @sdiv(
%div
=
sdiv
<
2
x
i32
>
%x
,
<
i32
1
,
i32
1
>
ret
<
2
x
i32
>
%div
; CHECK: ret <2 x i32> %x
}