[PATCH] D144319: [SimplifyCFG] Check if the return instruction causes undefined behavior

DianQK via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 19 01:49:22 PST 2023


DianQK updated this revision to Diff 498661.
DianQK added a comment.

check `!PtrValueMayBeModified`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144319

Files:
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/SimplifyCFG/unreachable-eliminate-on-ret.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144319.498661.patch
Type: text/x-patch
Size: 4271 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230219/7bdc0405/attachment.bin>


More information about the llvm-commits mailing list