X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FFeature%2Fnewcasts.ll;h=4cfc8bcf08e433a5382e50e7fb81742d714222b3;hb=7172b38af7ed5d1c1e2c97fadfb0ae0c19aff816;hp=d2371573b7d7f68ba6a094007f976007c302fcd8;hpb=e3ff5ada8a8f6cc166ecc45147da0d63c3683026;p=oota-llvm.git diff --git a/test/Feature/newcasts.ll b/test/Feature/newcasts.ll index d2371573b7d..4cfc8bcf08e 100644 --- a/test/Feature/newcasts.ll +++ b/test/Feature/newcasts.ll @@ -15,6 +15,11 @@ define void @"NewCasts" (i16 %x) { %k = bitcast i32 %a to float %l = inttoptr i16 %x to i32* %m = ptrtoint i32* %l to i64 + %n = insertelement <4 x i32> undef, i32 %a, i32 0 + %o = sitofp <4 x i32> %n to <4 x float> + %p = uitofp <4 x i32> %n to <4 x float> + %q = fptosi <4 x float> %p to <4 x i32> + %r = fptoui <4 x float> %p to <4 x i32> ret void }