[PATCH] D141251: Replace un-demanded values with undef in BDCE.

Owen Anderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 8 21:29:24 PST 2023


resistor created this revision.
Herald added subscribers: nlopes, hiraditya.
Herald added a project: All.
resistor requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Unit test changes spot-verified with alive2. As expected, the
transformation is NOT valid with poison.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141251

Files:
  llvm/lib/Transforms/Scalar/BDCE.cpp
  llvm/test/Transforms/BDCE/dead-uses.ll
  llvm/test/Transforms/BDCE/intrinsics.ll
  llvm/test/Transforms/BDCE/invalidate-assumptions.ll
  llvm/test/Transforms/BDCE/vectors-inseltpoison.ll
  llvm/test/Transforms/BDCE/vectors.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141251.487282.patch
Type: text/x-patch
Size: 11345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230109/3091dc3b/attachment.bin>


More information about the llvm-commits mailing list