1 ; RUN: llc < %s -march=cellspu | FileCheck %s
3 ; ModuleID = 'sext128.bc'
4 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"
7 define i128 @sext_i64_i128(i64 %a) {
9 %0 = sext i64 %a to i128
11 ; CHECK: long 269488144
12 ; CHECK: long 269488144
14 ; CHECK: long 67438087
21 define i128 @sext_i32_i128(i32 %a) {
23 %0 = sext i32 %a to i128
25 ; CHECK: long 269488144
26 ; CHECK: long 269488144
27 ; CHECK: long 269488144
35 define i128 @sext_i32_i128a(float %a) {
37 %0 = call i32 @myfunc(float %a)
38 %1 = sext i32 %0 to i128
40 ; CHECK: long 269488144
41 ; CHECK: long 269488144
42 ; CHECK: long 269488144
50 declare i32 @myfunc(float)