Edit: oh, a more direct way to get it to use popcntl: add -C target-feature=+popcnt. I would have checked this before, but I got bored waiting for LLVM to install so I could list CPU features (llc -mcpu=help).