Page MenuHomePhabricator

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

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