blob: 018157d97024ef968bca447240698a9b6611fc2e [file] [log] [blame]
Krzysztof Parzyszek2a3b2f92016-01-15 14:08:31 +00001; RUN: llc -march=hexagon -disable-const64=0 < %s | FileCheck %s
2; RUN: llc -march=hexagon -disable-const64=1 < %s | FileCheck %s --check-prefix=CHECKOLD
3
4; CHECK: CONST64
5; CHECKOLD-NOT: CONST64
6
7target datalayout = "e-m:e-p:32:32-i1:32-i64:64-a:0-v32:32-n16:32"
8target triple = "hexagon"
9
10; Function Attrs: nounwind
11define void @foo() optsize {
12entry:
13 call void @bar(i32 32768, i32 32768, i8 zeroext 1)
14 ret void
15}
16
17declare void @bar(i32, i32, i8 zeroext)
18