Page MenuHomePhabricator

[IRSim][IROutliner] Adding InstVisitor to disallow certain operations.
AcceptedPublic

Authored by AndrewLitteken on Sep 1 2020, 1:27 PM.

Details

Reviewers
paquette
jroelofs
Summary

This adds a custom InstVisitor to return false on instructions that should not be allowed to be outlined. These match the illegal instructions in the IRInstructionMapper.

Tests all the tests marked: illegal-*-.ll with a test for each kind of instruction that has been marked as illegal.

Diff Detail

Event Timeline

AndrewLitteken created this revision.Sep 1 2020, 1:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 1 2020, 1:27 PM
AndrewLitteken added a reviewer: paquette.

Updating for clang-format.

jroelofs accepted this revision.Sep 18 2020, 9:32 AM
jroelofs added a subscriber: jroelofs.

LGTM

This revision is now accepted and ready to land.Sep 18 2020, 9:33 AM

Updating for whitespace commits.