[PATCH] D55623: [globalisel] Add GISelChangeObserver::changingInstr()

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 12 14:33:17 PST 2018


dsanders created this revision.
dsanders added a reviewer: aditya_nandakumar.
Herald added subscribers: kristof.beyls, rovka.

In addition to knowing that an instruction is changed. It's also useful to
know when it's about to change. For example, it might print the instruction so
you can track the changes in a debug log, it might remove it from some queue
while it's being worked on, or it might want to change several instructions as
a single transaction and act on all the changes at once.

Added changingInstr() to all existing uses of changedInstr()


Repository:
  rL LLVM

https://reviews.llvm.org/D55623

Files:
  include/llvm/CodeGen/GlobalISel/GISelChangeObserver.h
  lib/CodeGen/GlobalISel/Combiner.cpp
  lib/CodeGen/GlobalISel/Legalizer.cpp
  lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55623.177930.patch
Type: text/x-patch
Size: 9655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181212/1e57d3e5/attachment.bin>


More information about the llvm-commits mailing list