729daf726f9144fa2c0c7318061925f0ea8e09e1
[oota-llvm.git] / test / CodeGen / CellSPU / sext128.ll
1 ; RUN: llvm-as -o - %s | llc -march=cellspu > %t1.s
2 ; RUN: grep {long.*269488144} %t1.s | count 2
3 ; RUN: grep {long.*16909060}  %t1.s | count 1
4 ; RUN: grep {long.*84281096}  %t1.s | count 1
5 ; RUN: grep {rotmai}          %t1.s | count 1
6 ; RUN: grep {lqa}             %t1.s | count 1
7 ; RUN: grep {shufb}           %t1.s | count 1
8
9 ; ModuleID = 'sext128.bc'
10 target datalayout = "E-p:32:32:128-i1:8:128-i8:8:128-i16:16:128-i32:32:128-i64:32:128-f32:32:128-f64:64:128-v64:128:128-v128:128:128-a0:0:128-s0:128:128"
11 target triple = "spu"
12
13 define i128 @sext_i64_i128(i64 %a) {
14 entry:
15         %0 = sext i64 %a to i128
16         ret i128 %0
17 }