Previous reports calculated the overall report using Instrument
information but did not print out per-instruction data using
Instrument information. This change fixes that.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/tools/llvm-mca/Views/InstructionInfoView.cpp | ||
---|---|---|
123 | I think you need to check if &Inst exists in InstToInstruments here (If it's unlikely to happen then maybe put it as an assertion just in case) | |
llvm/tools/llvm-mca/Views/InstructionInfoView.h | ||
62 | I think it'll be better to use DenseMap here since the key is a pointer. | |
90 | nit: could you use a type alias for InstToInstruments's type? it'll be easier to read |
Comment Actions
- Check InstToInstruments lookup exists
- Use DenseMap
- Use Type alias for InstToInstruments
I think it'll be better to use DenseMap here since the key is a pointer.