Hi Anton, > DAG.getIntPtrConstant(!Subtarget->is64Bit() ? 4 : 8)); how about using getPointerSize() here instead? (Likewise below). That way it will also handle 16 bit machines :) Ciao, Duncan.