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
This commit is contained in:
Reid Spencer 2007-01-02 05:50:11 +00:00
parent 6e8e64421e
commit a14c3f11ac

View 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
}