mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-31 09:25:42 +00:00
For PR1195:
Change use of "packed" term to "vector" in comments, strings, variable names, etc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34300 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -207,7 +207,7 @@ std::vector<Value*>& LowerPacked::getValues(Value* value)
|
||||
|
||||
void LowerPacked::visitLoadInst(LoadInst& LI)
|
||||
{
|
||||
// Make sure what we are dealing with is a packed type
|
||||
// Make sure what we are dealing with is a vector type
|
||||
if (const VectorType* PKT = dyn_cast<VectorType>(LI.getType())) {
|
||||
// Initialization, Idx is needed for getelementptr needed later
|
||||
std::vector<Value*> Idx(2);
|
||||
@@ -217,7 +217,7 @@ void LowerPacked::visitLoadInst(LoadInst& LI)
|
||||
PKT->getNumElements());
|
||||
PointerType* APT = PointerType::get(AT);
|
||||
|
||||
// Cast the pointer to packed type to an equivalent array
|
||||
// Cast the pointer to vector type to an equivalent array
|
||||
Value* array = new BitCastInst(LI.getPointerOperand(), APT,
|
||||
LI.getName() + ".a", &LI);
|
||||
|
||||
|
Reference in New Issue
Block a user