[PATCH] D155347: Documenting behaviour of ResourceRef (HWInstructionDispatchedEvent)

Christoph Stiller via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 14 16:28:38 PDT 2023


rainerzufalldererste added a comment.

I've worked on a project using MCA/llvm-mca and found the behaviour to be unintuitive and not explicitly documented anywhere afaik. It's used in llvm-mca/Views/ResourcePressureView.cpp:62 and reads the value via llvm::countr_zero there. I hope the comment is appreciated and the review doesn't cause any inconveniences.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155347



More information about the llvm-commits mailing list