[llvm-commits] [patch] fix PPCRegisterInfo.cpp comment typo

Liu proljc at gmail.com
Wed Sep 21 17:32:56 PDT 2011


On Wed, Sep 21, 2011 at 12:59 AM, Liu <proljc at gmail.com> wrote:
> Hi all
>
> I find a typo in PPCRegisterInfo.cpp comment and fixed it.
>
> --Liu
>

ping

--- a/lib/Target/PowerPC/PPCRegisterInfo.cpp
+++ b/lib/Target/PowerPC/PPCRegisterInfo.cpp
@@ -322,7 +322,7 @@ unsigned
findScratchRegister(MachineBasicBlock::iterator II, RegScavenger *RS,
                              const TargetRegisterClass *RC, int SPAdj) {
   assert(RS && "Register scavenging must be on");
   unsigned Reg = RS->FindUnusedReg(RC);
-  // FIXME: move ARM callee-saved reg scan to target independent code, then
+  // FIXME: move PPC callee-saved reg scan to target independent code, then
   // search for already spilled CS register here.
   if (Reg == 0)
     Reg = RS->scavengeRegister(RC, II, SPAdj);
-- 

Isn't it a typo?



More information about the llvm-commits mailing list