Files
archived-llvm/test/CodeGen/Generic/BasicInstrs.llx
John Criswell cfa435f79b Mark these as failing on sparc instead of sparcv9.
The configure script no longer tells us that we're configuring for SparcV9
specifically.
2004-06-17-UnorderedCompares may work on SparcV8, but it's experiental
anyway.
2005-02-20-AggregateSAVEEXPR should fail on any Solaris machine, as Solaris
doesn't provide complex number support.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_16@24155 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-02 18:05:50 +00:00

55 lines
777 B
Plaintext

; New testcase, this contains a bunch of simple instructions that should be
; handled by a code generator.
; RUN: llvm-as < %s | llc
int %add(int %A, int %B) {
%R = add int %A, %B
ret int %R
}
int %sub(int %A, int %B) {
%R = sub int %A, %B
ret int %R
}
int %mul(int %A, int %B) {
%R = mul int %A, %B
ret int %R
}
int %sdiv(int %A, int %B) {
%R = div int %A, %B
ret int %R
}
uint %udiv(uint %A, uint %B) {
%R = div uint %A, %B
ret uint %R
}
int %srem(int %A, int %B) {
%R = rem int %A, %B
ret int %R
}
uint %urem(uint %A, uint %B) {
%R = rem uint %A, %B
ret uint %R
}
int %and(int %A, int %B) {
%R = and int %A, %B
ret int %R
}
int %or(int %A, int %B) {
%R = or int %A, %B
ret int %R
}
int %xor(int %A, int %B) {
%R = xor int %A, %B
ret int %R
}