1 ; RUN: llc -march=hexagon -hexagon-small-data-threshold=0 < %s | FileCheck %s
3 ; Check that CONST32/CONST64 instructions are 'not' generated when the
4 ; small data threshold is set to 0.
6 @a = external global i32
7 @b = external global i32
8 @la = external global i64
9 @lb = external global i64
13 define void @test1() nounwind {
17 store i32 12345670, ptr @a, align 4
18 %q = ptrtoint ptr blockaddress (@test1, %block) to i32
19 store i32 %q, ptr @b, align 4
25 define void @test2() nounwind {
27 store i64 1234567890123, ptr @la, align 8
28 store i64 1234567890123, ptr @lb, align 8