1 target datalayout = "E-m:e-p:32:32-i64:64-n32"
2 target triple = "powerpc"
3 ; RUN: llc -verify-machineinstrs -mcpu=ppc < %s | FileCheck %s
4 ; RUN: llc -verify-machineinstrs -mcpu=pwr7 < %s | FileCheck %s
6 define i64 @test1() nounwind {
8 %r = call i64 @llvm.readcyclecounter()
15 ; CHECK: mfspr [[REG:[0-9]+]], 269
16 ; CHECK: cmpw 3, [[REG]]
19 declare i64 @llvm.readcyclecounter()