mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
finish a thought.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119690 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
43f8e43eb2
commit
2e29ebd9e8
@ -1831,7 +1831,7 @@ static bool isOnlyCopiedFromConstantGlobal(Value *V, MemTransferInst *&TheCopy,
|
||||
return false;
|
||||
|
||||
// If the transfer is using the alloca as a source of the transfer, then
|
||||
// it (unless the transfer is volatile).
|
||||
// ignore it since it is a load (unless the transfer is volatile).
|
||||
if (UI.getOperandNo() == 1) {
|
||||
if (MI->isVolatile()) return false;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user