Fix a typo that broke SimplifyLibCalls/SPrintF.ll (pr1315)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35768 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-04-08 18:11:26 +00:00
parent 6091ebd172
commit 51047859ed

View File

@ -1342,7 +1342,7 @@ public:
return false;
// Get the second character and switch on its value
switch (FormatStr[2]) {
switch (FormatStr[1]) {
case 'c': {
// sprintf(dest,"%c",chr) -> store chr, dest
Value *V = CastInst::createTruncOrBitCast(CI->getOperand(3),