[PATCH] D48893: [Constants, InstCombine] allow RHS (operand 1) identity constants for binops

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 6 15:40:53 PDT 2018


spatel abandoned this revision.
spatel added a comment.

I committed the enhancement to getBinOpIdentity() as an NFC preliminary because we can use that in https://reviews.llvm.org/D49047. So this patch will just be a one-liner to use the new call once we have all of the safety checks sorted out.


https://reviews.llvm.org/D48893





More information about the llvm-commits mailing list