HomePhabricator

[InstCombine] Refactor getFlippedStrictnessPredicateAndConstant() out of…

Authored by lebedev.ri on Aug 14 2019, 2:57 AM.

Description

[InstCombine] Refactor getFlippedStrictnessPredicateAndConstant() out of canonicalizeCmpWithConstant(), NFCI

I'd like to use it elsewhere, hopefully without reinventing the wheel.
No functional change intended so far.

llvm-svn: 368820

Details

Committed
lebedev.riAug 14 2019, 2:57 AM
Parents
rGc50959431928: [ASTImporter] Import default expression of param before creating the param.
Branches
Unknown
Tags
Unknown