mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Change an assert that mentions Packed Type -> Vector Type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34298 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d6aeb4f4ae
commit
d29b8b85ce
@ -323,7 +323,7 @@ void LowerPacked::visitStoreInst(StoreInst& SI)
|
|||||||
std::vector<Value*>& values = getValues(SI.getOperand(0));
|
std::vector<Value*>& values = getValues(SI.getOperand(0));
|
||||||
|
|
||||||
assert((values.size() == PKT->getNumElements()) &&
|
assert((values.size() == PKT->getNumElements()) &&
|
||||||
"Scalar must have the same number of elements as Packed Type");
|
"Scalar must have the same number of elements as Vector Type");
|
||||||
|
|
||||||
for (unsigned i = 0, e = PKT->getNumElements(); i != e; ++i) {
|
for (unsigned i = 0, e = PKT->getNumElements(); i != e; ++i) {
|
||||||
// Generate the indices for getelementptr
|
// Generate the indices for getelementptr
|
||||||
|
Loading…
Reference in New Issue
Block a user