[PATCH] D72174: [amdgpu] Skip non-instruction values in CF user tracing.

Michael Liao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 3 13:01:34 PST 2020


hliao added a comment.

In D72174#1803485 <https://reviews.llvm.org/D72174#1803485>, @arsenm wrote:

> Where is this being called from that it's so expensive?


the tracking through the D-U chain may step into other functions even though the lowering itself is a function pass. for modules with lots of functions, that implies the almost whole module IR is traversed each time a function is lowered. that's the unnecessary overhead.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72174





More information about the llvm-commits mailing list