]> granicus.if.org Git - llvm/commit
[MI] Clean up some loops over MachineInstr::memoperands(). NFC
authorJustin Lebar <jlebar@google.com>
Wed, 13 Jul 2016 22:35:19 +0000 (22:35 +0000)
committerJustin Lebar <jlebar@google.com>
Wed, 13 Jul 2016 22:35:19 +0000 (22:35 +0000)
commit6e665c85a49647e5109f3bdfa5a1054b8dcf934e
treee29d5b73c660c8a85f2f4411648e342a819774d2
parentff8bc4a1cf855f68307afe98f642d86136f88df5
[MI] Clean up some loops over MachineInstr::memoperands().  NFC

Use range-based for loops and llvm::any_of instead of explicit
iterators.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275332 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineInstr.cpp