[llvm] r178450 - Cleanup ImmToIdxMap and noImmForm in PPCRegisterInfo

Hal Finkel hfinkel at anl.gov
Mon Apr 1 10:03:26 PDT 2013



----- Original Message -----
> From: "Jakob Stoklund Olesen" <stoklund at 2pi.dk>
> To: "Hal Finkel" <hfinkel at anl.gov>
> Cc: "Commit Messages and Patches for LLVM" <llvm-commits at cs.uiuc.edu>
> Sent: Monday, April 1, 2013 11:45:05 AM
> Subject: Re: [llvm] r178450 - Cleanup ImmToIdxMap and noImmForm in PPCRegisterInfo
> 
> 
> On Mar 31, 2013, at 7:43 AM, Hal Finkel <hfinkel at anl.gov> wrote:
> 
> > +  // If the instruction is not present in ImmToIdxMap, then it has
> > no immediate
> > +  // form (and must be r+r).
> > +  bool noImmForm = !MI.isInlineAsm() &&
> > +    (ImmToIdxMap.find(OpC) == ImmToIdxMap.end());
> 
> DenseMap has a count() method.

r178473. Thanks!

 -Hal

> 
> /jakob
> 
> 



More information about the llvm-commits mailing list