[PATCH] D109428: [SImplifyCFG] SwitchInst processing redirecting the UB edges from the BB with the phiNode, that contains the UB, to the new BB.

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 13 01:29:29 PDT 2021


mkazantsev added a comment.

Please rebase on top of

  commit 7e337d8ba2ff5015d83f355be1049e3e13fa4d18 (HEAD -> main, origin/main)
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   Mon Sep 13 15:27:33 2021 +0700
  
      [Test] Add more sophisticated tests for switch UB opt
  
      Optimizer is being too smart with existing tests, and the transform
      gets concealed by following transforms.

It should now be showing what this transform actually does.


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

https://reviews.llvm.org/D109428



More information about the llvm-commits mailing list