mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-28 06:35:49 +00:00
str[r]chr returns its pointer argument so we cannot mark it as nocapture. Thanks to Duncan for spotting my mistake.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98671 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7df6ecf767
commit
2d7186ae6d
@ -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…
x
Reference in New Issue
Block a user