source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/emit-big-cst.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 524 bytes
Line 
1; RUN: llc -mtriple=thumbv7-unknown-unknown -target-abi apcs < %s | FileCheck %s
2; Check assembly printing of odd constants.
3
4; CHECK: bigCst:
5; CHECK-NEXT: .long 1694510592
6; CHECK-NEXT: .long 2960197
7; CHECK-NEXT: .long 26220
8; CHECK-NEXT: .size bigCst, 12
9
10@bigCst = internal constant i82 483673642326615442599424
11
12define void @accessBig(i64* %storage) {
13  %addr = bitcast i64* %storage to i82*
14  %bigLoadedCst = load volatile i82, i82* @bigCst
15  %tmp = add i82 %bigLoadedCst, 1
16  store i82 %tmp, i82* %addr
17  ret void
18}
Note: See TracBrowser for help on using the repository browser.