[PATCH] D64557: Add llvm.loop.licm.disable metadata

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 04:41:29 PDT 2019


fhahn added a comment.

> For some targets the LICM pass can result in sub-optimal code in some
>  cases where it would be better not to run the pass, but it isn't
>  always possible to suppress the transformations heuristically.

Can you provide more details on what targets those are and what the problems there are? How would the frontend decide? If it is target-specific, a TargetTransformInfo hook might be more suitable.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D64557





More information about the llvm-commits mailing list