[PATCH] D74918: Add method to TargetInfo to get CPU cache line size

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 23 10:21:34 PDT 2020


lebedev.ri added a comment.

In D74918#1937237 <https://reviews.llvm.org/D74918#1937237>, @zoecarver wrote:

> @lebedev.ri Where should I put this? Could you maybe point me to another LLVM target API that clang uses that I could base this off? Maybe it should go inside the triple or just be a static function?


I would have guessed `TargetLoweringInfo`/`TargetTransformInfo`, but i'm not sure if we can access it here without violating layering.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74918





More information about the cfe-commits mailing list