mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-04 09:37:20 +00:00
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:
parent
6091ebd172
commit
51047859ed
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user