[PATCH] D30916: LowerSwitch: Fix producing invalid IR on unreachable code
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 21 16:53:23 PDT 2017
arsenm added inline comments.
================
Comment at: test/Transforms/LowerSwitch/phi-in-dead-block.ll:4
+; CHECK-LABEL: @phi_in_dead_block(
+; CHECK-NOT: switch
+define void @phi_in_dead_block() {
----------------
hans wrote:
> Did we really get left with a switch before?
No. The verifier failed, but if I disable it the output has the expanded branches
https://reviews.llvm.org/D30916
More information about the llvm-commits
mailing list