[PATCH] D81854: [InstCombine] Don't let an alignment assume prevent new/delete removals.

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 16 14:19:01 PDT 2020


jdoerfert added a comment.

This is the right fix for alignment: D71739 <https://reviews.llvm.org/D71739>

For all `assumes` (and later other stuff, think lifetime markers or annotations) you can check if the `User::isDroppable`, and eventually drop via `Value::dropDroppableUses` if you cannot update them properly.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81854





More information about the llvm-commits mailing list