commit | 2e29ebd9e8efefe3ff926aa99cf2e5323665998e | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Nov 18 07:32:33 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Nov 18 07:32:33 2010 +0000 |
tree | 47547d4780d47a12e47df98be2ed44954870c3ff | |
parent | 43f8e43eb2a166f50c3a077040d8bdb24104433a [diff] [blame] |
finish a thought. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119690 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/lib/Transforms/Scalar/ScalarReplAggregates.cpp index 1bec443..a20d769 100644 --- a/lib/Transforms/Scalar/ScalarReplAggregates.cpp +++ b/lib/Transforms/Scalar/ScalarReplAggregates.cpp
@@ -1831,7 +1831,7 @@ 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;