This is an archive of the discontinued LLVM Phabricator instance.

[mips] Move out the WrapperPat declaration from the NotInMicroMips predicate
ClosedPublic

Authored by atanasyan on Jul 19 2018, 12:40 AM.

Details

Summary

This is a follow-up to the rL335185. Those commit adds some WrapperPat patterns for microMIPS target. But declaration of the WrapperPat class is under the NotInMicroMips predicate and microMIPS patterns cannot be selected because predicate (Subtarget->inMicroMipsMode()) && (!Subtarget->inMicroMipsMode()) is always false.

This change move out the WrapperPat class declaration from the NotInMicroMips predicate and enables microMIPS WrapperPat patterns.

Diff Detail

Repository
rL LLVM

Event Timeline

atanasyan created this revision.Jul 19 2018, 12:40 AM
This revision is now accepted and ready to land.Jul 19 2018, 6:22 AM
This revision was automatically updated to reflect the committed changes.