[clang] [llvm] [LoongArch] Add options for annotate tablejump (PR #102411)

via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 15 06:02:56 PDT 2024


================
@@ -601,6 +612,44 @@ bool LoongArchPreRAExpandPseudo::expandFunctionCALL(
   return true;
 }
 
+void LoongArchPreRAExpandPseudo::annotateTableJump(
+    MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI) {
+  MachineFunction *MF = MBB.getParent();
+  MachineRegisterInfo &MRI = MBB.getParent()->getRegInfo();
+
+  bool IsFinded = false;
----------------
wangleiat wrote:

haha, Thanks.

https://github.com/llvm/llvm-project/pull/102411


More information about the cfe-commits mailing list