llvm-3.0svn revision 134127 changed createTargetMachine to take in an additional argument of the CPU name.