1 target 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-v128:128:128-n32:64" 2 target triple = "powerpc64-unknown-linux-gnu" 3 ; RUN: llc < %s | FileCheck %s 4 5 define i64 @test1() nounwind { 6 entry: 7 %r = call i64 @llvm.readcyclecounter() 8 ret i64 %r 9 } 10 11 ; CHECK: @test1 12 ; CHECK: mfspr 3, 268 13 14 declare i64 @llvm.readcyclecounter() 15 16