[llvm-commits] [llvm] r133335 - /llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp

Cameron Zwarich zwarich at apple.com
Fri Jun 17 22:47:45 PDT 2011


Author: zwarich
Date: Sat Jun 18 00:47:45 2011
New Revision: 133335

URL: http://llvm.org/viewvc/llvm-project?rev=133335&view=rev
Log:
Remove a pointless assignment. Nothing checks the value of VectorTy anymore now
unless ScalarKind is Vector.

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=133335&r1=133334&r2=133335&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp Sat Jun 18 00:47:45 2011
@@ -384,7 +384,6 @@
   // Otherwise, we have a case that we can't handle with an optimized vector
   // form.  We can still turn this into a large integer.
   ScalarKind = Integer;
-  VectorTy = 0;
 }
 
 /// MergeInVectorType - Handles the vector case of MergeInTypeForLoadOrStore,





More information about the llvm-commits mailing list