[LLVMdev] [ptx] Propose a register class naming convention change

陳韋任 chenwj at iis.sinica.edu.tw
Fri May 13 01:52:22 PDT 2011


> Current register class naming has a confusing prefix letter 'R' (it is
> my bad), such as the first 'R' of RRegu32 (for unsigned 32-bit
> registers).
> 
> I propose a 'Reg' + type name naming convention for register classes; such as:
>   Regu16, Regu32, Regf32, Regf64
> With one exception for predicate registers (capitalized first letter of 'pred'):
>   RegPred

  Seems fine to me. And just curious, what the first 'R' of RRegu32
means?

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667




More information about the llvm-dev mailing list