[X86] Don't pass a scale value of 0 to scatter/gather intrinsics. This causes the...
[oota-llvm.git] / test / CodeGen / X86 / emit-big-cst.ll
1 ; RUN: llc -mtriple=x86_64-unknown-unknown < %s | FileCheck %s
2 ; Check assembly printing of odd constants.
3
4 ; CHECK: bigCst:
5 ; CHECK-NEXT: .quad 12713950999227904
6 ; CHECK-NEXT: .quad 26220
7 ; CHECK-NEXT: .size bigCst, 16
8
9 @bigCst = internal constant i82 483673642326615442599424
10
11 define 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 }