[AggressiveInstCombine] Only fold consecutive shifts of loads with constant shift amounts
This is what the code assumed but never actually checked. Fixes https://github.com/llvm/llvm-project/issues/62509. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D149896
Loading
Please sign in to comment