blob: 47185e82966164d71f46ae2578029eec2479053a [file] [log] [blame]
Chris Lattnerd4ac35b2010-05-04 17:58:46 +00001; RUN: llc < %s -march=cellspu | FileCheck %s
2
3%0 = type {i32, i32}
4@buffer = global [ 72 x %0 ] zeroinitializer
5
6define void@test( ) {
7; Check that there is no illegal "a rt, ra, imm" instruction
8; CHECK-NOT: a {{\$., \$., 5..}}
9; CHECK: a {{\$., \$., \$.}}
10 store %0 {i32 1, i32 2} ,
11 %0* getelementptr ([72 x %0]* @buffer, i32 0, i32 71)
12 ret void
13}