xref: /aosp_15_r20/external/llvm/test/CodeGen/Mips/addc.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc  < %s -march=mipsel | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker; RUN: llc  < %s -march=mips   | FileCheck %s
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Workerdefine void @f(i64 %l, i64* nocapture %p) nounwind {
5*9880d681SAndroid Build Coastguard Workerentry:
6*9880d681SAndroid Build Coastguard Worker; CHECK: lui
7*9880d681SAndroid Build Coastguard Worker; CHECK: ori
8*9880d681SAndroid Build Coastguard Worker; CHECK: addu
9*9880d681SAndroid Build Coastguard Worker  %add = add i64 %l, 1311768467294899695
10*9880d681SAndroid Build Coastguard Worker  store i64 %add, i64* %p, align 4
11*9880d681SAndroid Build Coastguard Worker  ret void
12*9880d681SAndroid Build Coastguard Worker}
13*9880d681SAndroid Build Coastguard Worker
14