[PATCH] D105543: [Test] Add loop deletion switch tests

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 7 04:26:09 PDT 2021


mkazantsev added inline comments.


================
Comment at: llvm/test/Transforms/LoopDeletion/eval_first_iteration.ll:1190
+
+; Here switch will always jump to the %second_block label, but there are two jumps to this label in switch
+define i32 @test_switch_ne_one_case_identical_jumps() {
----------------
Please add a test where switch has 2 branches jumping directly to backedge, not to some intermediate block.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105543



More information about the llvm-commits mailing list