[PATCH] D103236: [ARM] Introduce t2WhileLoopStartTP

Sam Tebbs via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 2 10:02:40 PDT 2021


samtebbs added inline comments.


================
Comment at: llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp:1436-1439
+    if (Start->getOpcode() == ARM::t2WhileLoopStartLR)
       MIB.add(Start->getOperand(2));
+    else if (Start->getOpcode() == ARM::t2WhileLoopStartTP)
+      MIB.add(Start->getOperand(3));
----------------
Can `getWLSTargetBB` be extracted to the tail pred utils header file and used here?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103236/new/

https://reviews.llvm.org/D103236



More information about the llvm-commits mailing list