[PATCH] D89050: Add support for !noundef metatdata on loads

Tyker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 12 13:41:27 PDT 2020


Tyker added a comment.

>> What about leaving `call llvm.assume` whenever the `load !noundef` is moved to somewhere else? I guess this is what LLVM is doing as well.
>
> If `--enable-knowledge-retention` is set, we should certainly do that if we would otherwise strip the metadata (not only for noundef).

this is not implemented the assume building currently don't look at any metadata.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89050



More information about the llvm-commits mailing list