1; RUN: llc < %s -march=sparc -mattr=-v9 | not grep popc
2; RUN: llc < %s -march=sparc -mattr=+v9 | grep popc
3
4declare i32 @llvm.ctpop.i32(i32)
5
6define i32 @test(i32 %X) {
7        %Y = call i32 @llvm.ctpop.i32( i32 %X )         ; <i32> [#uses=1]
8        ret i32 %Y
9}
10
11