Chris Lattner | d4ac35b | 2010-05-04 17:58:46 +0000 | [diff] [blame^] | 1 | ; RUN: llc < %s -march=cellspu | FileCheck %s |
2 | |||||
3 | %0 = type {i32, i32} | ||||
4 | @buffer = global [ 72 x %0 ] zeroinitializer | ||||
5 | |||||
6 | define 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 | } |