diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2002-11-07 17:59:21 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2002-11-07 17:59:21 +0000 |
commit | 1749d6359be1e815cfac3295b4145203986fd74b (patch) | |
tree | 1a8e857ad19221e6a5c3ac57ba1fe2e80a5828f5 /test/ExecutionEngine/test-setcond-int.ll | |
parent | ed8e6499ddab9d504b35c413377250d481c1946d (diff) | |
download | llvm-1749d6359be1e815cfac3295b4145203986fd74b.tar.gz llvm-1749d6359be1e815cfac3295b4145203986fd74b.tar.bz2 llvm-1749d6359be1e815cfac3295b4145203986fd74b.tar.xz |
Add instruction selection code and tests for setcc instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4603 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine/test-setcond-int.ll')
-rw-r--r-- | test/ExecutionEngine/test-setcond-int.ll | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/test/ExecutionEngine/test-setcond-int.ll b/test/ExecutionEngine/test-setcond-int.ll new file mode 100644 index 0000000000..beea516afd --- /dev/null +++ b/test/ExecutionEngine/test-setcond-int.ll @@ -0,0 +1,68 @@ + +void %main() { + %int1 = add int 0, 0 + %int2 = add int 0, 0 + %long1 = add long 0, 0 + %long2 = add long 0, 0 + %sbyte1 = add sbyte 0, 0 + %sbyte2 = add sbyte 0, 0 + %short1 = add short 0, 0 + %short2 = add short 0, 0 + %ubyte1 = add ubyte 0, 0 + %ubyte2 = add ubyte 0, 0 + %uint1 = add uint 0, 0 + %uint2 = add uint 0, 0 + %ulong1 = add ulong 0, 0 + %ulong2 = add ulong 0, 0 + %ushort1 = add ushort 0, 0 + %ushort2 = add ushort 0, 0 + %test1 = seteq ubyte %ubyte1, %ubyte2 + %test2 = setge ubyte %ubyte1, %ubyte2 + %test3 = setgt ubyte %ubyte1, %ubyte2 + %test4 = setle ubyte %ubyte1, %ubyte2 + %test5 = setlt ubyte %ubyte1, %ubyte2 + %test6 = setne ubyte %ubyte1, %ubyte2 + %test7 = seteq ushort %ushort1, %ushort2 + %test8 = setge ushort %ushort1, %ushort2 + %test9 = setgt ushort %ushort1, %ushort2 + %test10 = setle ushort %ushort1, %ushort2 + %test11 = setlt ushort %ushort1, %ushort2 + %test12 = setne ushort %ushort1, %ushort2 + %test13 = seteq uint %uint1, %uint2 + %test14 = setge uint %uint1, %uint2 + %test15 = setgt uint %uint1, %uint2 + %test16 = setle uint %uint1, %uint2 + %test17 = setlt uint %uint1, %uint2 + %test18 = setne uint %uint1, %uint2 + %test19 = seteq ulong %ulong1, %ulong2 + %test20 = setge ulong %ulong1, %ulong2 + %test21 = setgt ulong %ulong1, %ulong2 + %test22 = setle ulong %ulong1, %ulong2 + %test23 = setlt ulong %ulong1, %ulong2 + %test24 = setne ulong %ulong1, %ulong2 + %test25 = seteq sbyte %sbyte1, %sbyte2 + %test26 = setge sbyte %sbyte1, %sbyte2 + %test27 = setgt sbyte %sbyte1, %sbyte2 + %test28 = setle sbyte %sbyte1, %sbyte2 + %test29 = setlt sbyte %sbyte1, %sbyte2 + %test30 = setne sbyte %sbyte1, %sbyte2 + %test31 = seteq short %short1, %short2 + %test32 = setge short %short1, %short2 + %test33 = setgt short %short1, %short2 + %test34 = setle short %short1, %short2 + %test35 = setlt short %short1, %short2 + %test36 = setne short %short1, %short2 + %test37 = seteq int %int1, %int2 + %test38 = setge int %int1, %int2 + %test39 = setgt int %int1, %int2 + %test40 = setle int %int1, %int2 + %test41 = setlt int %int1, %int2 + %test42 = setne int %int1, %int2 + %test43 = seteq long %long1, %long2 + %test44 = setge long %long1, %long2 + %test45 = setgt long %long1, %long2 + %test46 = setle long %long1, %long2 + %test47 = setlt long %long1, %long2 + %test48 = setne long %long1, %long2 + ret void +} |