Changes in directory llvm/test/Regression/CodeGen/PowerPC:
inlineasm-copy.ll added (r1.1) --- Log message: new testcase --- Diffs of the changes: (+14 -0) inlineasm-copy.ll | 14 ++++++++++++++ 1 files changed, 14 insertions(+) Index: llvm/test/Regression/CodeGen/PowerPC/inlineasm-copy.ll diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/inlineasm-copy.ll:1.1 *** /dev/null Wed Nov 1 19:45:38 2006 --- llvm/test/Regression/CodeGen/PowerPC/inlineasm-copy.ll Wed Nov 1 19:45:28 2006 *************** *** 0 **** --- 1,14 ---- + ; RUN: llvm-as < %s | llc -march=ppc32 && + ; RUN: llvm-as < %s | llc -march=ppc32 | not grep mr + + int %test(int %Y, int %X) { + entry: + %tmp = tail call int asm "foo $0", "=r"( ) ; <int> [#uses=1] + ret int %tmp + } + + int %test2(int %Y, int %X) { + entry: + %tmp1 = tail call int asm "foo $0, $1", "=r,r"( int %X ) ; <int> [#uses=1] + ret int %tmp1 + } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits