aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorHongyu Ouyang <96765450+casavaca@users.noreply.github.com>2023-12-28 13:27:42 -0800
committerGitHub <noreply@github.com>2023-12-28 21:27:42 +0000
commit37f9036320e37527a58586fb0ba99ca473755574 (patch)
tree4bddd59e9f88e1f06cdbadcb4ee17ddaeb52149b /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parent516cc98affa509614f1f80dc8870e8ec6183e6c7 (diff)
downloadllvm-37f9036320e37527a58586fb0ba99ca473755574.zip
llvm-37f9036320e37527a58586fb0ba99ca473755574.tar.gz
llvm-37f9036320e37527a58586fb0ba99ca473755574.tar.bz2
[libc++] Make drop_view::begin constant time (#72883) (#72929)
As pointed out in #72883, the implementation only needs to return the value of ranges::next and does not need to obtain the value through ranges::advance, which causes it to have O(n) complexity in the case of random-access-sized but non-common range. Fixes #72883
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions