blob: 4a93144d2d517c864610340df8d40439a47106c4 [file] [log] [blame]
Dan Gohman18800922009-09-11 18:01:28 +00001; RUN: opt < %s -constprop -S | \
Chandler Carrutha5a29f92012-07-02 12:47:22 +00002; RUN: grep "i32 -1"
Dan Gohman18800922009-09-11 18:01:28 +00003; RUN: opt < %s -constprop -S | \
Reid Spencerbc7533c2007-04-14 23:04:54 +00004; RUN: not grep zeroinitializer
Chris Lattner51459772006-12-01 05:54:48 +00005
Tanya Lattner5640bd12008-03-01 09:15:35 +00006define <4 x i32> @test() {
7 %tmp40 = bitcast <2 x i64> bitcast (<4 x i32> < i32 0, i32 0, i32 -1, i32 0 > to <2 x i64>) to <4 x i32>; <<4 x i32>> [#uses=1]
8 ret <4 x i32> %tmp40
Chris Lattner51459772006-12-01 05:54:48 +00009}
Tanya Lattner5640bd12008-03-01 09:15:35 +000010