[InstCombine] Allow simplify demanded transformations on scalable vectors
authorPhilip Reames <preames@rivosinc.com>
Mon, 31 Oct 2022 20:34:28 +0000 (13:34 -0700)
committerPhilip Reames <listmail@philipreames.com>
Mon, 31 Oct 2022 20:39:36 +0000 (13:39 -0700)
commita819f6c8d1f4909a1ac3a2eff390236e4e31dba3
treee78d0f7ffb116716036f774faad68ee37910bd49
parent6288f70bda7438c7d249a4d54d8317172bce2b88
[InstCombine] Allow simplify demanded transformations on scalable vectors

Differential Revision: https://reviews.llvm.org/D136475
llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
llvm/test/Transforms/InstCombine/mul-masked-bits.ll
llvm/test/Transforms/InstCombine/udiv-simplify.ll