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

Owen Anderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 12:10:08 PDT 2020


resistor accepted this revision.
resistor added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:307
+    if (I == MBB.begin() || !isUnpredicatedTerminator(*--I)) {
+      assert(!isUncondBranchOpcode(LastOpc) && "should be covered by previous");
+
----------------
I feel like this assert message could have more context.


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

https://reviews.llvm.org/D88035



More information about the llvm-commits mailing list