projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Work around a FileCheck bug, for now.
[oota-llvm.git]
/
test
/
Assembler
/
2006-12-09-Cast-To-Bool.ll
diff --git
a/test/Assembler/2006-12-09-Cast-To-Bool.ll
b/test/Assembler/2006-12-09-Cast-To-Bool.ll
index 2ede90aa1cd5c265609f6e64bc09c3478b3020f4..a70262c802c1689a432a387d5a19b1e9069b46bb 100644
(file)
--- a/
test/Assembler/2006-12-09-Cast-To-Bool.ll
+++ b/
test/Assembler/2006-12-09-Cast-To-Bool.ll
@@
-1,5
+1,6
@@
-; RUN llvm-upgrade < %s | llvm-as
-bool %main(int %X) {
- %res = cast bool true to bool
- ret bool %res
+; RUN: llvm-as < %s | llvm-dis | grep bitcast
+
+define i1 @main(i32 %X) {
+ %res = bitcast i1 true to i1
+ ret i1 %res
}