xref: /aosp_15_r20/external/llvm/test/CodeGen/PowerPC/big-endian-actual-args.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
2*9880d681SAndroid Build Coastguard Worker; RUN:   grep "addc 4, 4, 6"
3*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
4*9880d681SAndroid Build Coastguard Worker; RUN:   grep "adde 3, 3, 5"
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Workerdefine i64 @foo(i64 %x, i64 %y) {
7*9880d681SAndroid Build Coastguard Worker  %z = add i64 %x, %y
8*9880d681SAndroid Build Coastguard Worker  ret i64 %z
9*9880d681SAndroid Build Coastguard Worker}
10