[all-commits] [llvm/llvm-project] 1b8196: [MIBundle] Turn MachineOperandIteratorBase into a ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Dec 5 01:08:57 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b81964586b4f0fde94f4d238be659bedd85b627
      https://github.com/llvm/llvm-project/commit/1b81964586b4f0fde94f4d238be659bedd85b627
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2019-12-05 (Thu, 05 Dec 2019)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineInstrBundle.h
    M llvm/lib/CodeGen/LiveIntervals.cpp

  Log Message:
  -----------
  [MIBundle] Turn MachineOperandIteratorBase into a forward iterator.

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.

Reviewers: evandro, t.p.northover, paquette, MatzeB, arsenm

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D70561




More information about the All-commits mailing list