Add comment explaining that the order of processing doesn't matter here.
authorBill Wendling <isanbard@gmail.com>
Mon, 17 Oct 2011 05:25:09 +0000 (05:25 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 17 Oct 2011 05:25:09 +0000 (05:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142176 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMISelLowering.cpp

index 0d74de003950335ab050f9445d7ea4ae1df95d6b..56e06c07b4c38ad7e5bf27d93d1a39c6a56262fe 100644 (file)
@@ -5893,6 +5893,7 @@ EmitSjLjDispatchBlock(MachineInstr *MI, MachineBasicBlock *MBB) const {
     PrevMBB = CurMBB;
   }
 
+  // N.B. the order the invoke BBs are processed in doesn't matter here.
   const ARMBaseInstrInfo *AII = static_cast<const ARMBaseInstrInfo*>(TII);
   const ARMBaseRegisterInfo &RI = AII->getRegisterInfo();
   const unsigned *SavedRegs = RI.getCalleeSavedRegs(MF);