Page MenuHomePhabricator

[GISel][NFC]: Add unit test for clarifying CSE behavior
ClosedPublic

Authored by aditya_nandakumar on Jun 10 2020, 6:10 PM.

Details

Summary

Add a unit test that shows how CSE works if we install an observer at the machine function level and not use the CSEMIRBuilder to build instructions.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptJun 10 2020, 6:10 PM
Herald added a subscriber: wdng. · View Herald Transcript
dsanders accepted this revision.Jun 11 2020, 10:02 AM

LGTM

llvm/unittests/CodeGen/GlobalISel/CSETest.cpp
85

last m->n in implememtation

This revision is now accepted and ready to land.Jun 11 2020, 10:02 AM