mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Test seteq AND setne
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6628 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
333864d81b
commit
619c3140e3
@ -81,9 +81,9 @@ bool %test14(bool %A, bool %B) {
|
||||
; These instructions can be turned into cast-to-bool
|
||||
bool %test15(sbyte %A, short %A, int %A, long %A) {
|
||||
%B1 = setne sbyte %A, 0
|
||||
%B2 = setne short %A, 0
|
||||
%B2 = seteq short %A, 0
|
||||
%B3 = setne int %A, 0
|
||||
%B4 = setne long %A, 0
|
||||
%B4 = seteq long %A, 0
|
||||
%C1 = or bool %B1, %B2
|
||||
%C2 = or bool %B3, %B4
|
||||
%D = or bool %C1, %C2
|
||||
|
Loading…
x
Reference in New Issue
Block a user