llvm-6502/test/CodeGen/SparcV8/xnor.ll
Duraid Madina 8d4acd715a verily, sabre did leave
and yea! Saem said "ARRR."

meanwhile, the pinksias and the campfires and the ET forests glowed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25240 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-12 02:50:34 +00:00

15 lines
336 B
LLVM

; RUN: llvm-as < %s | llc -march=sparcv8 -enable-v8-dag-isel=true &&
; RUN: llvm-as < %s | llc -march=sparcv8 -enable-v8-dag-isel=true | grep xnor | wc -l | grep 2
int %test1(int %X, int %Y) {
%A = xor int %X, %Y
%B = xor int %A, -1
ret int %B
}
int %test2(int %X, int %Y) {
%A = xor int %X, -1
%B = xor int %A, %Y
ret int %B
}