In ConstantArray::getAsString(), we know the size of the resultant string in...
In ConstantArray::getAsString(), we know the size of the resultant string in advance so we can pre-allocate it and just fill in the entries. This improves the time for the AsmPrinter on InstructionCombining.cpp from 0.4248s to 0.3370s. llvm-svn: 52690
Loading
Please register or sign in to comment