Sign in
cobalt
/
cobalt
/
308ed6b84664d59944cd65f4b4359c28a2443be6
/
.
/
src
/
third_party
/
llvm-project
/
llvm
/
test
/
Transforms
/
ConstProp
/
trunc_vec.ll
blob: 99db329cdd2b7c23feb2d2c654650888e85786c0 [
file
] [
log
] [
blame
]
; RUN: opt -constprop < %s
; Make sure we don't crash on this one
define
<
8
x
i8
>
@test_truc_vec
()
{
%x
=
bitcast
<
2
x
i64
>
<
i64
1
,
i64
2
>
to
<
8
x
i16
>
%y
=
trunc
<
8
x
i16
>
%x
to
<
8
x
i8
>
ret
<
8
x
i8
>
%y
}