projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Don't make assumptions about the name of private global variables.
[oota-llvm.git]
/
test
/
Transforms
/
ConstProp
/
trunc_vec.ll
1
; RUN: opt -constprop < %s
2
3
; Make sure we don't crash on this one
4
5
define <8 x i8> @test_truc_vec() {
6
%x = bitcast <2 x i64> <i64 1, i64 2> to <8 x i16>
7
%y = trunc <8 x i16> %x to <8 x i8>
8
ret <8 x i8> %y
9
}