summaryrefslogtreecommitdiff
path: root/test/Assembler/2006-12-09-Cast-To-Bool.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-13 05:06:52 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-13 05:06:52 +0000
commit737ec5130ef29bd447eb3c93d6a6e980cc0b16e3 (patch)
treed31eed9ff629d582d31f0bfc9c2e8cada5a2c443 /test/Assembler/2006-12-09-Cast-To-Bool.ll
parent6f40790252d224e27ff85bbd962112efe7ab5f4f (diff)
downloadllvm-737ec5130ef29bd447eb3c93d6a6e980cc0b16e3.tar.gz
llvm-737ec5130ef29bd447eb3c93d6a6e980cc0b16e3.tar.bz2
llvm-737ec5130ef29bd447eb3c93d6a6e980cc0b16e3.tar.xz
For PR1043:
Bye, Bye Booly. Remove the use of the bool type from non-upgraded test cases and from grep expressions. The parser doesn't accept it and the asm writer doesn't produce it any more. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/2006-12-09-Cast-To-Bool.ll')
-rw-r--r--test/Assembler/2006-12-09-Cast-To-Bool.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Assembler/2006-12-09-Cast-To-Bool.ll b/test/Assembler/2006-12-09-Cast-To-Bool.ll
index 7264918a42..3fc4d23070 100644
--- a/test/Assembler/2006-12-09-Cast-To-Bool.ll
+++ b/test/Assembler/2006-12-09-Cast-To-Bool.ll
@@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | grep bitcast
-define bool %main(i32 %X) {
- %res = bitcast bool true to bool
- ret bool %res
+define i1 %main(i32 %X) {
+ %res = bitcast i1 true to i1
+ ret i1 %res
}