[llvm] r178450 - Cleanup ImmToIdxMap and noImmForm in PPCRegisterInfo
Jakob Stoklund Olesen
stoklund at 2pi.dk
Mon Apr 1 09:45:05 PDT 2013
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.
/jakob
More information about the llvm-commits
mailing list