This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel] Add isConstFalseVal helper to Utils
ClosedPublic

Authored by paquette on Nov 18 2020, 4:31 PM.

Details

Summary

Add a utility function which returns true if the given value is a constant false value.

This is necessary to port one of the compare simplifications in TargetLowering::SimplifySetCC.

Diff Detail

Event Timeline

paquette created this revision.Nov 18 2020, 4:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 18 2020, 4:31 PM
paquette requested review of this revision.Nov 18 2020, 4:31 PM
aemerson accepted this revision.Nov 18 2020, 11:15 PM
This revision is now accepted and ready to land.Nov 18 2020, 11:15 PM
arsenm accepted this revision.Sep 28 2022, 2:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 28 2022, 2:21 PM
This revision was automatically updated to reflect the committed changes.