Fixes https://bugs.llvm.org/show_bug.cgi?id=25454
Do not assume IRBuilder creates Instruction where it can create Value.
Do not assume idiom operands are constant, leave generalisation ot the IRBuilder.
Differential D35114
Fix invalid cast in instcombine UMul/ZExt idiom Authored by serge-sans-paille on Jul 7 2017, 3:05 AM.
Details Fixes https://bugs.llvm.org/show_bug.cgi?id=25454 Do not assume IRBuilder creates Instruction where it can create Value.
Diff Detail
Event TimelineComment Actions LGTM with small remark.
| ||||||