aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-02 05:50:11 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-02 05:50:11 +0000
commita14c3f11accf900fbde1af574a62258d4b246a2e (patch)
treedf55e1c77f1ae03201286877566a896ef90c6815 /test
parent6e8e64421ee55699c413495ac55d1877dcee2338 (diff)
downloadexternal_llvm-a14c3f11accf900fbde1af574a62258d4b246a2e.zip
external_llvm-a14c3f11accf900fbde1af574a62258d4b246a2e.tar.gz
external_llvm-a14c3f11accf900fbde1af574a62258d4b246a2e.tar.bz2
Manually upgrade this test case to make sure that the new cast-to-bool
semantics are retained. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32813 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-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 74d671b..7264918 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-upgrade < %s | llvm-as | llvm-dis | grep bitcast
-bool %main(int %X) {
- %res = cast bool true to bool
+; RUN: llvm-as < %s | llvm-dis | grep bitcast
+define bool %main(i32 %X) {
+ %res = bitcast bool true to bool
ret bool %res
}