[llvm-commits] [dragonegg] r125540 - /dragonegg/trunk/x86/llvm-target.cpp
Chris Lattner
sabre at nondot.org
Mon Feb 14 16:15:39 PST 2011
Author: lattner
Date: Mon Feb 14 18:15:39 2011
New Revision: 125540
URL: http://llvm.org/viewvc/llvm-project?rev=125540&view=rev
Log:
Update to build with ConstantVector API change.
Modified:
dragonegg/trunk/x86/llvm-target.cpp
Modified: dragonegg/trunk/x86/llvm-target.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/x86/llvm-target.cpp?rev=125540&r1=125539&r2=125540&view=diff
==============================================================================
--- dragonegg/trunk/x86/llvm-target.cpp (original)
+++ dragonegg/trunk/x86/llvm-target.cpp Mon Feb 14 18:15:39 2011
@@ -671,7 +671,7 @@
for (unsigned i = 0; i != 8; ++i)
Indices.push_back(ConstantInt::get(IntTy, shiftVal + i));
- Value* SV = ConstantVector::get(Indices.begin(), Indices.size());
+ Value* SV = ConstantVector::get(Indices);
Result = Builder.CreateShuffleVector(Ops[1], Ops[0], SV, "palignr");
return true;
}
@@ -723,7 +723,7 @@
for (unsigned i = 0; i != 16; ++i)
Indices.push_back(ConstantInt::get(IntTy, shiftVal + i));
- Value* SV = ConstantVector::get(Indices.begin(), Indices.size());
+ Value* SV = ConstantVector::get(Indices);
Result = Builder.CreateShuffleVector(Ops[1], Ops[0], SV, "palignr");
return true;
}
More information about the llvm-commits
mailing list