Handling true and false constant replacements is now abstracted out into a single lambda function ReplaceCmpWithConstant, so as to reduce code duplication.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM, thanks! Could you also update llvm/test/Transforms/ConstraintElimination/debug.ll to check printing the negated form?
llvm/lib/Transforms/Scalar/ConstraintElimination.cpp | ||
---|---|---|
967–970 |