[llvm-commits] [PATCH] Add an MF pointer argument to TRI::getPointerRegClass and TII::getRegClass

Yiannis Tsiouris gtsiour at softlab.ntua.gr
Mon May 7 14:34:02 PDT 2012


Hi Jakob,

On 05/07/2012 09:12 PM, Jakob Stoklund Olesen wrote:
>
> You have some 80-col violations. Otherwise it looks good.
>
> $ egrep '^\+ .{80}' getPointerRegClass-getRegClass-add-MF-arg.diff 
> +        if (const TargetRegisterClass *DRC = TII->getRegClass(MCID,MONum,TRI,*MF)) {
> +        if (const TargetRegisterClass *DRC = TII->getRegClass(MCID,MONum,TRI,*MF)) {
> +      DstRC = TRI->getAllocatableClass(TII->getRegClass(*II, IIOpNum, TRI, *MF));
> +                                                                          const {
> +  unsigned TmpReg = MRI->createVirtualRegister(TII->getRegClass(MCID1,0,TRI,MF));
>
> /jakob
Should have been fixed in the attached!
Thanks for taking some time to review this!

I'll resend a patch for HiPE Calling Convention as soon as I get some
time to fix it!

Yiannis

-- 
Yiannis Tsiouris
Ph.D. student,
Software Engineering Laboratory,
National Technical University of Athens
WWW: http://www.softlab.ntua.gr/~gtsiour

-------------- next part --------------
A non-text attachment was scrubbed...
Name: getPointerRegClass-getRegClass-add-MF-arg.diff
Type: text/x-diff
Size: 28796 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120508/836c6a23/attachment.diff>


More information about the llvm-commits mailing list