mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-06 01:24:35 +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:
@ -1,5 +1,5 @@
|
|||||||
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | grep bitcast
|
; RUN: llvm-as < %s | llvm-dis | grep bitcast
|
||||||
bool %main(int %X) {
|
define bool %main(i32 %X) {
|
||||||
%res = cast bool true to bool
|
%res = bitcast bool true to bool
|
||||||
ret bool %res
|
ret bool %res
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user