Changes in directory llvm/test/Regression/CodeGen/ARM:
div.ll added (r1.1) --- Log message: expand ISD::SDIV, ISD::UDIV, ISD::SREM and ISD::UREM --- Diffs of the changes: (+29 -0) div.ll | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+) Index: llvm/test/Regression/CodeGen/ARM/div.ll diff -c /dev/null llvm/test/Regression/CodeGen/ARM/div.ll:1.1 *** /dev/null Tue Oct 17 16:05:43 2006 --- llvm/test/Regression/CodeGen/ARM/div.ll Tue Oct 17 16:05:33 2006 *************** *** 0 **** --- 1,29 ---- + ; RUN: llvm-as < %s | llc -march=arm && + ; RUN: llvm-as < %s | llc -march=arm | grep __divsi3 && + ; RUN: llvm-as < %s | llc -march=arm | grep __udivsi3 && + ; RUN: llvm-as < %s | llc -march=arm | grep __modsi3 && + ; RUN: llvm-as < %s | llc -march=arm | grep __umodsi3 + + int %f1(int %a, int %b) { + entry: + %tmp1 = div int %a, %b + ret int %tmp1 + } + + uint %f2(uint %a, uint %b) { + entry: + %tmp1 = div uint %a, %b + ret uint %tmp1 + } + + int %f3(int %a, int %b) { + entry: + %tmp1 = rem int %a, %b + ret int %tmp1 + } + + uint %f4(uint %a, uint %b) { + entry: + %tmp1 = rem uint %a, %b + ret uint %tmp1 + } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits