projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[WinEH] Add some test cases I forgot to add to previous commits
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
2009-03-03-BitcastLongDouble.ll
diff --git
a/test/CodeGen/X86/2009-03-03-BitcastLongDouble.ll
b/test/CodeGen/X86/2009-03-03-BitcastLongDouble.ll
index 1eefaa91aafedacc3d621a9f5ed4759a82645f75..9deecebe94535c4f3826c79240fc3cda882d0114 100644
(file)
--- a/
test/CodeGen/X86/2009-03-03-BitcastLongDouble.ll
+++ b/
test/CodeGen/X86/2009-03-03-BitcastLongDouble.ll
@@
-1,4
+1,4
@@
-; RUN: ll
vm-as < %s | llc
-march=x86
+; RUN: ll
c < %s
-march=x86
; PR3686
; rdar://6661799
; PR3686
; rdar://6661799
@@
-6,7
+6,7
@@
define i32 @x(i32 %y) nounwind readnone {
entry:
%tmp14 = zext i32 %y to i80 ; <i80> [#uses=1]
%tmp15 = bitcast i80 %tmp14 to x86_fp80 ; <x86_fp80> [#uses=1]
entry:
%tmp14 = zext i32 %y to i80 ; <i80> [#uses=1]
%tmp15 = bitcast i80 %tmp14 to x86_fp80 ; <x86_fp80> [#uses=1]
- %add =
add x86_fp80 %tmp15, 0xK3FFF8000000000000000
; <x86_fp80> [#uses=1]
+ %add =
fadd x86_fp80 %tmp15, 0xK3FFF8000000000000000
; <x86_fp80> [#uses=1]
%tmp11 = bitcast x86_fp80 %add to i80 ; <i80> [#uses=1]
%tmp10 = trunc i80 %tmp11 to i32 ; <i32> [#uses=1]
ret i32 %tmp10
%tmp11 = bitcast x86_fp80 %add to i80 ; <i80> [#uses=1]
%tmp10 = trunc i80 %tmp11 to i32 ; <i32> [#uses=1]
ret i32 %tmp10