brintos

brintos / llvm-project-archived public Read only

0
0
Text · 342 B · 0cf910d Raw
14 lines · plain
1; Make sure this testcase does not use ctpop2; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | FileCheck %s3 4declare i32 @llvm.cttz.i32(i32, i1)5 6define i32 @bar(i32 %x) {7entry:8; CHECK: @bar9; CHECK: cntlzw10        %tmp.1 = call i32 @llvm.cttz.i32( i32 %x, i1 true )              ; <i32> [#uses=1]11        ret i32 %tmp.112}13 14