blob: 359d36d8af698d14d49edaaabfa431a10fe22df4 [file] [log] [blame]
Dan Gohman36a09472009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86 -mattr=+sse2
Mon P Wange9f10152008-12-09 05:46:39 +00002
3; Example that requires splitting and expanding a vector shift.
4define <2 x i64> @update(<2 x i64> %val) nounwind readnone {
5entry:
Eli Friedmance392eb2009-08-22 03:13:10 +00006 %shr = lshr <2 x i64> %val, < i64 2, i64 3 >
Mon P Wange9f10152008-12-09 05:46:39 +00007 ret <2 x i64> %shr
8}