[llvm-commits] [llvm] r119690 - /llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
Chris Lattner
sabre at nondot.org
Wed Nov 17 23:32:33 PST 2010
Author: lattner
Date: Thu Nov 18 01:32:33 2010
New Revision: 119690
URL: http://llvm.org/viewvc/llvm-project?rev=119690&view=rev
Log:
finish a thought.
Modified:
llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp?rev=119690&r1=119689&r2=119690&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp Thu Nov 18 01:32:33 2010
@@ -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;
More information about the llvm-commits
mailing list