HomePhabricator

[GISel]: Provide standard interface to observe changes in GISel passes

Description

[GISel]: Provide standard interface to observe changes in GISel passes

https://reviews.llvm.org/D54980

This provides a standard API across GISel passes to observe and notify
passes about changes (insertions/deletions/mutations) to MachineInstrs.
This patch also removes the recordInsertion method in MachineIRBuilder
and instead provides method to setObserver.

Reviewed by: vkeles.

Details

Committed
aditya_nandakumarDec 5 2018, 12:14 PM
Parents
rL348405: Merging r345470:
Branches
Unknown
Tags
Unknown