blob: 2a03d5819b835df384d27fd7b55df6285ffa521d [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -march=ppc32 -mcpu=g5 -o %t
Reid Spencereb1d74e2007-04-16 17:36:08 +00002; RUN: grep vrlw %t
3; RUN: not grep spr %t
4; RUN: not grep vrsave %t
Chris Lattnerd5c654b2006-04-17 21:48:03 +00005
Tanya Lattnercfab3da2008-02-19 08:07:33 +00006define <4 x i32> @test_rol() {
7 ret <4 x i32> < i32 -11534337, i32 -11534337, i32 -11534337, i32 -11534337 >
Chris Lattnerd5c654b2006-04-17 21:48:03 +00008}
9
Tanya Lattnercfab3da2008-02-19 08:07:33 +000010define <4 x i32> @test_arg(<4 x i32> %A, <4 x i32> %B) {
11 %C = add <4 x i32> %A, %B ; <<4 x i32>> [#uses=1]
12 ret <4 x i32> %C
Chris Lattner7c65a302006-05-16 18:23:55 +000013}
14