• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mcpu=ppc64 < %s | FileCheck %s
2target datalayout = "E-m:e-i64:64-n32:64"
3target triple = "powerpc64-unknown-linux-gnu"
4
5; Function Attrs: nounwind
6define void @bar() #0 {
7entry:
8  tail call void @xxx([2 x i64] [i64 4607182418800017408, i64 4611686018427387904]) #0
9  ret void
10
11; CHECK-LABEL: @bar
12; CHECK-DAG: li [[REG1:[0-9]+]], 1023
13; CHECK-DAG: li [[REG2:[0-9]+]], {{1$}}
14; CHECK-DAG: sldi 3, [[REG1]], 52
15; CHECK-DAG: sldi 4, [[REG2]], 62
16; CHECK: bl xxx
17; CHECK: blr
18}
19
20declare void @xxx([2 x i64])
21
22attributes #0 = { nounwind }
23
24