Changes in directory llvm/test/Regression/CodeGen/ARM:
longarith.ll added (r1.1) --- Log message: expand ISD::SHL_PARTS, ISD::SRA_PARTS and ISD::SRL_PARTS --- Diffs of the changes: (+24 -0) longarith.ll | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+) Index: llvm/test/Regression/CodeGen/ARM/longarith.ll diff -c /dev/null llvm/test/Regression/CodeGen/ARM/longarith.ll:1.1 *** /dev/null Mon Oct 16 16:10:42 2006 --- llvm/test/Regression/CodeGen/ARM/longarith.ll Mon Oct 16 16:10:32 2006 *************** *** 0 **** --- 1,24 ---- + ; RUN: llvm-as < %s | llc -march=arm && + ; RUN: llvm-as < %s | llc -march=arm | grep __ashldi3 && + ; RUN: llvm-as < %s | llc -march=arm | grep __ashrdi3 && + ; RUN: llvm-as < %s | llc -march=arm | grep __lshrdi3 + uint %f1(ulong %x, ubyte %y) { + entry: + %a = shl ulong %x, ubyte %y + %b = cast ulong %a to uint + ret uint %b + } + + uint %f2(long %x, ubyte %y) { + entry: + %a = shr long %x, ubyte %y + %b = cast long %a to uint + ret uint %b + } + + uint %f3(ulong %x, ubyte %y) { + entry: + %a = shr ulong %x, ubyte %y + %b = cast ulong %a to uint + ret uint %b + } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits