mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 22:50:47 +00:00
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47318 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
851bfff50f
commit
9cffa9a6ed
@ -1090,7 +1090,7 @@ bool GVN::performReturnSlotOptzn(MemCpyInst* cpy, CallInst* C,
|
||||
// Since this is a return slot optimization, we need to make sure that
|
||||
// the value being copied is, in fact, in a return slot. We also need to
|
||||
// check that the return slot parameter is marked noalias, so that we can
|
||||
// be sure that changing it will cause unexpected behavior changes due
|
||||
// be sure that changing it will not cause unexpected behavior changes due
|
||||
// to it being accessed through a global or another parameter.
|
||||
if (CS.arg_size() == 0 ||
|
||||
cpySrc != CS.getArgument(0) ||
|
||||
|
Loading…
Reference in New Issue
Block a user