1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc -mattr=-v9 &&
2 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc -mattr=v9 -enable-sparc-v9-insts &&
3 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc -mattr=-v9 | not grep popc &&
4 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=sparc -mattr=v9 -enable-sparc-v9-insts | grep popc
6 declare uint %llvm.ctpop.i32(uint)
8 %Y = call uint %llvm.ctpop.i32(uint %X)