aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-08-16 10:39:57 +0200
committerNikita Popov <npopov@redhat.com>2023-08-17 09:09:14 +0200
commit51dfe3cb3bdf543186fb3fba5085f2376047bb33 (patch)
tree60bbf7e26db4f3b6ae42817467cc83ac532f5a78 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent317a0fe5bd7113c0ac9d30b2de58ca409e5ff754 (diff)
downloadllvm-51dfe3cb3bdf543186fb3fba5085f2376047bb33.zip
llvm-51dfe3cb3bdf543186fb3fba5085f2376047bb33.tar.gz
llvm-51dfe3cb3bdf543186fb3fba5085f2376047bb33.tar.bz2
[IR] Add PHINode::removeIncomingValueIf() (NFC)
Add an API that allows removing multiple incoming phi values based on a predicate callback, as suggested on D157621. This makes sure that the removal is linear time rather than quadratic, and avoids subtleties around iterator invalidation. I have replaced some of the more straightforward users with the new API, though there's a couple more places that should be able to use it. Differential Revision: https://reviews.llvm.org/D158064
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions