diff options
Diffstat (limited to 'test/CodeGen/PowerPC/big-endian-actual-args.ll')
-rw-r--r-- | test/CodeGen/PowerPC/big-endian-actual-args.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/big-endian-actual-args.ll b/test/CodeGen/PowerPC/big-endian-actual-args.ll new file mode 100644 index 0000000..1a31b9e --- /dev/null +++ b/test/CodeGen/PowerPC/big-endian-actual-args.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llc -march=ppc32 | grep {addc 4, 4, 6} +; RUN: llvm-as < %s | llc -march=ppc32 | grep {adde 3, 3, 5} + +define i64 @foo(i64 %x, i64 %y) { + %z = add i64 %x, %y + ret i64 %z +} |