[PATCH] D88035: [AArch64] Teach analyzeBranch to remove branch equivelent to fallthrough

Owen Anderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 14:54:55 PDT 2020


resistor added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:307
+    if (I == MBB.begin() || !isUnpredicatedTerminator(*--I)) {
+      if (isUncondBranchOpcode(LastOpc)) {
+        TBB = LastInst->getOperand(0).getMBB();
----------------
What's the situation where this is needed?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88035



More information about the llvm-commits mailing list