diff options
author | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2020-02-06 14:13:31 +0000 |
---|---|---|
committer | Sjoerd Meijer <sjoerd.meijer@arm.com> | 2020-02-06 14:13:31 +0000 |
commit | 93b0536fd2af8a7a0be6cebd0f768a89d64cac30 (patch) | |
tree | cf004cde727b40ca70bc02c8abe9cfd33bbf5ba9 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 0a8cae10feb283b7a0886c5b52055de3db8b0e10 (diff) | |
download | llvm-93b0536fd2af8a7a0be6cebd0f768a89d64cac30.zip llvm-93b0536fd2af8a7a0be6cebd0f768a89d64cac30.tar.gz llvm-93b0536fd2af8a7a0be6cebd0f768a89d64cac30.tar.bz2 |
[RDA] getInstFromId: find instructions. NFC.
To find the instruction in the block for a given ID, first a count and then a
lookup was performed in the map, which is almost the same thing, thus doing
double the work.
Differential Revision: https://reviews.llvm.org/D73866
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions