1 ; RUN: llc < %s -march=cellspu > %t1.s 2 ; RUN: grep "ilh" %t1.s | count 11 3 target datalayout = "E-p:32:32:128-f64:64:128-f32:32:128-i64:32:128-i32:32:128-i16:16:128-i8:8:128-i1:8:128-a0:0:128-v128:128:128-s0:128:128" 4 target triple = "spu" 5 6 define i16 @test_1() { 7 %x = alloca i16, align 16 8 store i16 419, i16* %x ;; ILH via pattern 9 ret i16 0 10 } 11 12 define i16 @test_2() { 13 %x = alloca i16, align 16 14 store i16 1023, i16* %x ;; ILH via pattern 15 ret i16 0 16 } 17 18 define i16 @test_3() { 19 %x = alloca i16, align 16 20 store i16 -1023, i16* %x ;; ILH via pattern 21 ret i16 0 22 } 23 24 define i16 @test_4() { 25 %x = alloca i16, align 16 26 store i16 32767, i16* %x ;; ILH via pattern 27 ret i16 0 28 } 29 30 define i16 @test_5() { 31 %x = alloca i16, align 16 32 store i16 -32768, i16* %x ;; ILH via pattern 33 ret i16 0 34 } 35 36 define i16 @test_6() { 37 ret i16 0 38 } 39 40 41