[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:12:31 PDT 2021
mkazantsev added inline comments.
================
Comment at: llvm/test/Transforms/SimplifyCFG/switch_ub.ll:5
; TODO: Basing on fact that load(null) is UB, we can remove edge pred->bb.
define i32 @test_01(i32* %p, i32 %x, i1 %cond) {
----------------
You can remove this TODO as well.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109428/new/
https://reviews.llvm.org/D109428
More information about the llvm-commits
mailing list