projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
llvm-ar: Clean up memory management with OwningPtr.
[oota-llvm.git]
/
test
/
Feature
/
newcasts.ll
diff --git
a/test/Feature/newcasts.ll
b/test/Feature/newcasts.ll
index d2371573b7d7f68ba6a094007f976007c302fcd8..4cfc8bcf08e433a5382e50e7fb81742d714222b3 100644
(file)
--- 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
%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
}
ret void
}