[PATCH] D155395: [SimplifyCFG] Remove identical successors in switch instructions in simple cases.

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 16 02:12:56 PDT 2023


xbolva00 added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/SimplifyCFG.cpp:6810
+    return false;
+  }
+  auto BB1Itr = BB1->instructionsWithoutDebug();
----------------
return false when BB´s sizes are not same?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155395



More information about the llvm-commits mailing list