[PATCH] Tablegen: Extend target register information by giving the	users access to call preserved register mask names.
    Duncan P. N. Exon Smith 
    dexonsmith at apple.com
       
    Tue Jun 23 13:01:03 PDT 2015
    
    
  
> On 2015-Jun-23, at 12:55, Ahmed Bougacha <ahmed.bougacha at gmail.com> wrote:
> 
> REPOSITORY
>  rL LLVM
> 
> ================
> Comment at: include/llvm/Target/TargetRegisterInfo.h:473
> @@ +472,3 @@
> +  /// Return all the call-preserved register masks defined for this target.
> +  virtual ArrayRef<const uint32_t *> getRegMasks() const = 0;
> +  virtual ArrayRef<const char *> getRegMaskNames() const = 0;
> ----------------
> ArrayRef already implies 'const', no?
ArrayRef<T> has a const pointer to T.  In this case that means:
    uint32_t const* const*
ArrayRef only implies the second const.  Or am I missing your point?
    
    
More information about the llvm-commits
mailing list