mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
continue making the world safe for ConstantDataVector. At this point,
we should (theoretically optimize and codegen ConstantDataVector as well as ConstantVector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149116 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2174,7 +2174,7 @@ static Constant *EvaluateStoreInto(Constant *Init, Constant *Val,
|
||||
return Val;
|
||||
}
|
||||
|
||||
std::vector<Constant*> Elts;
|
||||
SmallVector<Constant*, 32> Elts;
|
||||
if (StructType *STy = dyn_cast<StructType>(Init->getType())) {
|
||||
// Break up the constant into its elements.
|
||||
for (unsigned i = 0, e = STy->getNumElements(); i != e; ++i)
|
||||
|
Reference in New Issue
Block a user