search for: eltoffset

Displaying 1 result from an estimated 1 matches for "eltoffset".

Did you mean: destoffset
2006 Sep 12
1
[LLVMdev] ICE in LLVM GCC4 Front End
...// We can only get the type size (and thus convert to using a GEP instr) + // if the type isn't abstract + int64_t EltSize = TD.getTypeSize(ElTy); - // If EltSize exactly divides Offset, then we know that we can turn this - // into a getelementptr instruction. - int64_t EltOffset = Offset/EltSize; - if (EltOffset*EltSize == Offset) { - // If this is a subtract, we want to step backwards. - if (Opc == Instruction::Sub) - EltOffset = -EltOffset; - Constant *C = ConstantSInt::get(Type::LongTy, EltOffset); - Value *V = new GetElementPtrInst(LHS, C,...