This is an archive of the discontinued LLVM Phabricator instance.

GlobalISel: Fix maxScalarIf predicate check
ClosedPublic

Authored by arsenm on Jul 22 2020, 6:46 AM.

Details

Summary

The std::function itself was tested, not the result of the actual
query. It seems like there should be a warning for this. Inline the
check to avoid this.

Diff Detail

Event Timeline

arsenm created this revision.Jul 22 2020, 6:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 22 2020, 6:46 AM
Herald added subscribers: rovka, wdng. · View Herald Transcript
aemerson accepted this revision.Jul 23 2020, 2:22 PM
This revision is now accepted and ready to land.Jul 23 2020, 2:22 PM