[InstCombine] Handle load smaller than one byte in memset forward
APInt::getSplat() requires that the new size is >= the original one. If we're loading less than 8 bits, truncate instead. Fixes https://github.com/llvm/llvm-project/issues/58845.
Loading
Please sign in to comment