blob: a1376e54cfad62f1e8e12f835d09f73bd9bafce2 [file] [log] [blame]
Eli Friedmanf44f5f12009-08-22 03:13:10 +00001; RUN: llvm-as < %s | llc -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}