mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 11:33:24 +02:00
str[r]chr returns its pointer argument so we cannot mark it as nocapture. Thanks to Duncan for spotting my mistake.
llvm-svn: 98671
This commit is contained in:
parent
4edab939bb
commit
94c90c236b
@ -1408,7 +1408,6 @@ bool SimplifyLibCalls::doInitialization(Module &M) {
|
||||
continue;
|
||||
setOnlyReadsMemory(F);
|
||||
setDoesNotThrow(F);
|
||||
setDoesNotCapture(F, 1);
|
||||
} else if (Name == "strcpy" ||
|
||||
Name == "stpcpy" ||
|
||||
Name == "strcat" ||
|
||||
|
Loading…
Reference in New Issue
Block a user