2017-08-02 06:20:41 +08:00
|
|
|
; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 -o %t
|
2007-04-17 01:36:08 +08:00
|
|
|
; RUN: grep vrlw %t
|
|
|
|
; RUN: not grep spr %t
|
|
|
|
; RUN: not grep vrsave %t
|
2006-04-18 05:48:03 +08:00
|
|
|
|
2008-02-19 16:07:33 +08:00
|
|
|
define <4 x i32> @test_rol() {
|
|
|
|
ret <4 x i32> < i32 -11534337, i32 -11534337, i32 -11534337, i32 -11534337 >
|
2006-04-18 05:48:03 +08:00
|
|
|
}
|
|
|
|
|
2008-02-19 16:07:33 +08: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-17 02:23:55 +08:00
|
|
|
}
|
|
|
|
|