Dan Gohman | 0a06310 | 2009-09-08 23:54:48 +0000 | [diff] [blame^] | 1 | ; RUN: llc < %s -march=x86 -mattr=+sse2 |
Mon P Wang | 9901e73 | 2008-12-09 05:46:39 +0000 | [diff] [blame] | 2 | |
3 | ; Example that requires splitting and expanding a vector shift. | ||||
4 | define <2 x i64> @update(<2 x i64> %val) nounwind readnone { | ||||
5 | entry: | ||||
Eli Friedman | f44f5f1 | 2009-08-22 03:13:10 +0000 | [diff] [blame] | 6 | %shr = lshr <2 x i64> %val, < i64 2, i64 3 > |
Mon P Wang | 9901e73 | 2008-12-09 05:46:39 +0000 | [diff] [blame] | 7 | ret <2 x i64> %shr |
8 | } |