1; RUN: llc -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 < %s | FileCheck %s 2target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128-v128:128:128-n32:64" 3target triple = "powerpc64-unknown-linux-gnu" 4 5declare i64 @llvm.get.dynamic.area.offset.i64() 6 7declare i64 @bar(i64) 8 9attributes #0 = { nounwind } 10 11; Function Attrs: nounwind sanitize_address uwtable 12define signext i64 @foo(i32 signext %N, i32 signext %M) #0 { 13 %1 = alloca i64, align 32 14 %dynamic_area_offset = call i64 @llvm.get.dynamic.area.offset.i64() 15 %2 = call i64 @bar(i64 %dynamic_area_offset) 16 ret i64 %2 17 18; CHECK-DAG: li [[REG1:[0-9]+]], 112 19; CHECK: blr 20 21} 22