xref: /aosp_15_r20/external/llvm/test/CodeGen/Mips/emit-big-cst.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc -march=mips < %s | FileCheck %s
2; Check assembly printing of odd constants.
3
4; CHECK: bigCst:
5; CHECK-NEXT: .8byte 1845068520838224192
6; CHECK-NEXT: .8byte 11776
7; CHECK-NEXT: .size bigCst, 16
8
9@bigCst = internal constant i82 483673642326615442599424
10
11define void @accessBig(i64* %storage) {
12  %addr = bitcast i64* %storage to i82*
13  %bigLoadedCst = load volatile i82, i82* @bigCst
14  %tmp = add i82 %bigLoadedCst, 1
15  store i82 %tmp, i82* %addr
16  ret void
17}
18