[PATCH] D113424: ext-tsp basic block layout

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 17 01:10:04 PDT 2023


MaskRay added inline comments.
Herald added a subscriber: wlei.
Herald added a project: All.


================
Comment at: llvm/lib/Transforms/Utils/CodeLayout.cpp:716
+      for (auto &Jump : ChainSucc->blocks().back()->OutJumps) {
+        const auto DstBlock = Jump->Source;
+        if (DstBlock->CurChain != ChainPred)
----------------
This should be `Jump->Target`. See https://github.com/llvm/llvm-project/pull/66592


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113424



More information about the llvm-commits mailing list