projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d13bd22
)
Add tests for cast of long to bool
author
Chris Lattner
<sabre@nondot.org>
Sun, 1 Jun 2003 03:37:25 +0000
(
03:37
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 1 Jun 2003 03:37:25 +0000
(
03:37
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6508
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/ExecutionEngine/test-cast.ll
patch
|
blob
|
history
diff --git
a/test/ExecutionEngine/test-cast.ll
b/test/ExecutionEngine/test-cast.ll
index a30fc06322ec102c1aacac90f6ca2b76407526af..753c9fa708447c89a12b62746b726f5cf523b537 100644
(file)
--- a/
test/ExecutionEngine/test-cast.ll
+++ b/
test/ExecutionEngine/test-cast.ll
@@
-1,4
+1,5
@@
+
int %foo() {
ret int 0
}
@@
-49,6
+50,7
@@
int %main() {
cast uint 0 to double
; cast long to ...
+ cast long 0 to bool
cast long 0 to sbyte
cast long 0 to ubyte
cast long 0 to short
@@
-59,6
+61,8
@@
int %main() {
cast long 0 to ulong
cast long 0 to float
cast long 0 to double
+
+ cast ulong 0 to bool
; cast float to ...
;cast float 0.0 to bool