blob: 359d36d8af698d14d49edaaabfa431a10fe22df4 [file] [log] [blame]
Dan Gohman0a063102009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86 -mattr=+sse2
Mon P Wang9901e732008-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 Friedmanf44f5f12009-08-22 03:13:10 +00006 %shr = lshr <2 x i64> %val, < i64 2, i64 3 >
Mon P Wang9901e732008-12-09 05:46:39 +00007 ret <2 x i64> %shr
8}