[InstCombine] SimplifyDemandedUseBits - add TODO to remove shl node if we only demand...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 7 Apr 2022 13:35:11 +0000 (14:35 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 7 Apr 2022 13:35:11 +0000 (14:35 +0100)
commit5909c678831f3a5c1669f6906f777d4ec4532fa1
tree3bf1b21ed187e78b9f459eb88e18a5898f8277ef
parent5e90224839607b7a87f5d169e407dd5468d20265
[InstCombine] SimplifyDemandedUseBits - add TODO to remove shl node if we only demand known sign bits of the shift source

Similar to what we already perform for ashr/lshr
llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp