[PATCH] D70561: [MIBundle] Turn MachineOperandIteratorBase into a forward iterator.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 21 12:49:20 PST 2019
fhahn created this revision.
fhahn added reviewers: evandro, t.p.northover, paquette, MatzeB, arsenm.
Herald added subscribers: hiraditya, wdng.
Herald added a project: LLVM.
This patch turns MachineOperandIteratorBase into a regular forward
iterator, which can be used with iterator_range.
It also adds mi_bundle_ops and const_mi_bundle_ops that return iterator
ranges over all operands in a bundle and updates a use of the old
iterator.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D70561
Files:
llvm/include/llvm/CodeGen/MachineInstrBundle.h
llvm/lib/CodeGen/LiveIntervals.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70561.230513.patch
Type: text/x-patch
Size: 5556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191121/9bfc8fbc/attachment.bin>
More information about the llvm-commits
mailing list