Changes in directory llvm/test/Feature:
signedinst.ll added (r1.1.2.1) --- Log message: Add a test case for testing the new signed instructions. --- Diffs of the changes: (+9 -0) signedinst.ll | 9 +++++++++ 1 files changed, 9 insertions(+) Index: llvm/test/Feature/signedinst.ll diff -c /dev/null llvm/test/Feature/signedinst.ll:1.1.2.1 *** /dev/null Sat Oct 21 04:07:36 2006 --- llvm/test/Feature/signedinst.ll Sat Oct 21 04:07:26 2006 *************** *** 0 **** --- 1,9 ---- + ; RUN: llvm-as %s -o - | llvm-dis > %t1.ll + ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll + ; RUN: diff %t1.ll %t2.ll + + int %test_signedinstructions() { + %a = sdiv int 4, -2 + %b = udiv uint 4, 2 + ret int %a + } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits