Manually upgrade this test case to make sure that the new cast-to-bool
authorReid Spencer <rspencer@reidspencer.com>
Tue, 2 Jan 2007 05:50:11 +0000 (05:50 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 2 Jan 2007 05:50:11 +0000 (05:50 +0000)
semantics are retained.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32813 91177308-0d34-0410-b5e6-96231b3b80d8

test/Assembler/2006-12-09-Cast-To-Bool.ll

index 74d671b5d91dfb47e9745a75f8ab7af2ecc4b1a8..7264918a427e75ad61623e2d0ceb2e9fca9fd757 100644 (file)
@@ -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
 }