[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 20 20:45:41 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG073b254cffef: [SimplifyCFG] Redirect switch cases that lead to UB into an unreachable block (authored by mkazantsev).

Changed prior to commit:
  https://reviews.llvm.org/D109428?vs=373537&id=373772#toc

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109428

Files:
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/CodeGen/AArch64/arm64-ccmp.ll
  llvm/test/Transforms/SimplifyCFG/switch_ub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109428.373772.patch
Type: text/x-patch
Size: 7654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210921/36f1e21b/attachment.bin>


More information about the llvm-commits mailing list