This fixes a crash found by the oss fuzzer and reported by @fhahn.
The suggestion of @RKSimon seems to be the correct fix here. (See D91343).
The oss fuzz report can be found here: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32759
Differential D99792
[InstCombine] Fix out-of-bounds ashr(shl) optimization jeroen.dobbelaere on Apr 2 2021, 3:31 AM. Authored by
Details This fixes a crash found by the oss fuzzer and reported by @fhahn. The oss fuzz report can be found here: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32759
Diff Detail
|