[PATCH] D127699: [InstCombine] Don't slice up PHIs when pred BB has catchswitch

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 13 14:42:17 PDT 2022


aheejin added inline comments.


================
Comment at: llvm/test/Transforms/InstCombine/catchswitch-phi.ll:62
+; BBs, which can't have any non-PHI instruction before the catchswitch.
+define void @test1() personality i8* bitcast (i32 (...)* @__gxx_wasm_personality_v0 to i8*) {
+entry:
----------------
This test is a little more complicated than I hoped, but I couldn't reduce it further. Removing any BB from here breaks the complex condition necessary to exactly trigger this bug.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127699



More information about the llvm-commits mailing list