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

Tim Corringham via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 07:33:49 PDT 2019


timcorringham added a comment.

Unfortunately I don't believe I have an example that is suitable for publishing. The problem is basically that the code motion is generally a good thing, but it can increase live ranges significantly pushing register pressure up such that performance is degraded, but that impact isn't apparent at the point at which the transformation is performed. Disabling the pass for certain loops is a low-impact pragmatic (but not ideal) solution.


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