commit | a47a91a7f34c15e52a09a635be23f4279f9839d6 | [log] [tgz] |
---|---|---|
author | Aditya Nandakumar <aditya_nandakumar@apple.com> | Wed Dec 05 20:14:52 2018 +0000 |
committer | Aditya Nandakumar <aditya_nandakumar@apple.com> | Wed Dec 05 20:14:52 2018 +0000 |
tree | ad0bd2673702ac0a7c44a85f3efd80fa9fffcb9b | |
parent | e1363b44fe306fa9bf0f1cb9da43582775bc5050 [diff] |
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@348406 91177308-0d34-0410-b5e6-96231b3b80d8