diff options
| -rw-r--r-- | llvm/lib/Target/Sparc/SparcInstrSelection.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/SparcInstrSelection.cpp b/llvm/lib/Target/Sparc/SparcInstrSelection.cpp index c7b8ecb3512..21212199a86 100644 --- a/llvm/lib/Target/Sparc/SparcInstrSelection.cpp +++ b/llvm/lib/Target/Sparc/SparcInstrSelection.cpp @@ -839,7 +839,7 @@ SetMemOperands_Internal(MachineInstr* minstr,            // It must be an array ref.  Check if the offset is a constant,            // and that the indexing has been lowered to a single offset.            //  -          assert(ptrType->getElementType()->isArrayType()); +          assert(isa<SequentialType>(ptrType->getElementType()));            assert(arrayOffsetVal != NULL                   && "Expect to be given Value* for array offsets");  | 

