[PATCH] D133386: [nfc] Refactor SlotIndex::getInstrDistance to better reflect actual functionality

Aiden Grossman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 6 17:07:04 PDT 2022


aidengrossman added reviewers: mtrofin, MatzeB, foad.
aidengrossman added a comment.

Minor NFC change to make some of the intricacies of `SlotIndex::getInstrDistance` more clear so that it's easier for the next person trying to understand it. Based on discussion here <https://discourse.llvm.org/t/odd-behavior-in-slotindex-getinstrdistance/64934/5>.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133386



More information about the llvm-commits mailing list