HomePhabricator

[RegionPass] Fix forgotten "!".

Description

[RegionPass] Fix forgotten "!".

Commit r355068 "Fix IR/Analysis layering issue with OptBisect" uses the
template

return Gate.isEnabled() && !Gate.shouldRunPass(this, getDescription(...));

for all pass kinds. For the RegionPass, it left out the not operator,
causing region passes to be skipped as soon as a pass gate is used.

Details

Committed
MeinersburMar 8 2019, 1:03 PM
Parents
rL355732: [NFC] Add missing revision information to ABI Changelog
Branches
Unknown
Tags
Unknown

Event Timeline

There are no tests which would catch this issue ?