[PATCH] D58736: [System Model] Introduce a target system model

Simon Moll via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 18 21:57:04 PDT 2019


simoll added a comment.

This takes a while to digest. Some quick remarks for now (also inline):

- Is there a way to query the number of (automatic) HW prefetchers?
- Does the interface provide the latency of each cache level (hit)/memory (miss)?



================
Comment at: llvm/include/llvm/Analysis/TargetTransformInfoImpl.h:407
+
+  unsigned getMaxPrefetchIterationsAhead() const { return UINT_MAX; }
 
----------------
What is this method supposed to return?
The right value seems to be a property of a specific pair of a loop and a target architecture rather than just the target alone.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D58736





More information about the llvm-commits mailing list