2008-02-19 08:07:33 +00:00
|
|
|
; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 -o %t -f
|
2007-04-16 17:36:08 +00:00
|
|
|
; RUN: grep vrlw %t
|
|
|
|
; RUN: not grep spr %t
|
|
|
|
; RUN: not grep vrsave %t
|
2006-04-17 21:48:03 +00:00
|
|
|
|
2008-02-19 08:07:33 +00:00
|
|
|
define <4 x i32> @test_rol() {
|
|
|
|
ret <4 x i32> < i32 -11534337, i32 -11534337, i32 -11534337, i32 -11534337 >
|
2006-04-17 21:48:03 +00:00
|
|
|
}
|
|
|
|
|
2008-02-19 08:07:33 +00:00
|
|
|
define <4 x i32> @test_arg(<4 x i32> %A, <4 x i32> %B) {
|
|
|
|
%C = add <4 x i32> %A, %B ; <<4 x i32>> [#uses=1]
|
|
|
|
ret <4 x i32> %C
|
2006-05-16 18:23:55 +00:00
|
|
|
}
|
|
|
|
|