[PATCH] D133386: [nfc] Refactor SlotIndex::getInstrDistance to better reflect actual functionality
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 7 01:55:59 PDT 2022
foad added a comment.
I would prefer to make the comment a bit vaguer, rather than trying to explain //exactly// what conditions are required to get dense numbering. How about just adding something like: "Note that if there are gaps in the numbering (which there usually are) then this function will return an over-estimate of the true instruction distance."
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