This is an archive of the discontinued LLVM Phabricator instance.

[globalisel] Add GISelChangeObserver::changingInstr()
ClosedPublic

Authored by dsanders on Dec 12 2018, 2:31 PM.

Details

Summary

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()

Diff Detail

Repository
rL LLVM

Event Timeline

dsanders created this revision.Dec 12 2018, 2:31 PM

LGTM. Thanks for this.

This revision is now accepted and ready to land.Dec 12 2018, 2:36 PM
This revision was automatically updated to reflect the committed changes.