Skip to content
Commit a57bb61a authored by Craig Topper's avatar Craig Topper
Browse files

[InstCombine] Support (mul (sext x), cst) --> (sext (mul x, cst')) and (mul...

[InstCombine] Support (mul (sext x), cst) --> (sext (mul x, cst')) and (mul (zext x), cst) --> (zext (mul x, cst')) for vectors constants.

Similar to D51236, but for mul instead of add.

Differential Revision: https://reviews.llvm.org/D51900

llvm-svn: 341961
parent 49d190f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment