[llvm-commits] Patch to cleanup code to use newer API.

Villmow, Micah Micah.Villmow at amd.com
Thu Oct 25 08:39:32 PDT 2012


r166684.

> -----Original Message-----
> From: Eli Friedman [mailto:eli.friedman at gmail.com]
> Sent: Wednesday, October 24, 2012 4:19 PM
> To: Villmow, Micah
> Cc: llvm-commits at cs.uiuc.edu
> Subject: Re: [llvm-commits] Patch to cleanup code to use newer API.
> 
> On Wed, Oct 24, 2012 at 2:38 PM, Villmow, Micah <Micah.Villmow at amd.com>
> wrote:
> > I've attached a patch that cleans up various locations in the code
> base to convert:
> > cast<llvm::PointerType>(A->getType())->getAddressSpace()
> > into the shorter version of:
> > A->getType()->getPointerAddressSpace() using the helper function from
> Type class.
> 
> Looks fine.
> 
> -Eli






More information about the llvm-commits mailing list