This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] NFC: Use CmpInst::isUnsigned instead of static helper
ClosedPublic

Authored by paquette on Nov 11 2020, 11:26 AM.

Details

Summary

Reducing some code duplication.

We had a helper for checking if a predicate is unsigned. Remove that and use the existing function in Instructions.cpp.

Diff Detail

Event Timeline

paquette created this revision.Nov 11 2020, 11:26 AM
paquette requested review of this revision.Nov 11 2020, 11:26 AM
aemerson accepted this revision.Nov 12 2020, 9:45 AM
This revision is now accepted and ready to land.Nov 12 2020, 9:45 AM