blob: e56f4947b52af60bbb7402ee664412f7dab273e1 [file] [log] [blame]
Chris Lattner87c06d62010-02-04 06:34:01 +00001; RUN: llc < %s -march=sparc -mattr=-v9 | not grep popc
2; RUN: llc < %s -march=sparcv9 -mattr=v9 | grep popc
Chris Lattner7ce1bbf2006-02-05 05:52:55 +00003
Tanya Lattner53a66d12008-02-19 01:41:04 +00004declare 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
Chris Lattner7ce1bbf2006-02-05 05:52:55 +00009}
10