mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
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:
parent
6e8e64421e
commit
a14c3f11ac
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user