When I have to do arithmetic, using APInt, with the component parts of a SCEV *X, I've been using X->getType()->getIntegerBitWidth() to tell me how many bits to allocate in my APInts.<div><br></div><div>Now I've come across a case where the SCEV has a pointer type. How can I find the width of a pointer in bits?</div>
<div><br></div><div>Thanks,</div><div>Preston</div><div><br></div>