[all-commits] [llvm/llvm-project] b82b30: [InstCombine] Fix out-of-bounds ashr(shl) optimiza...

dobbelaj-snps via All-commits all-commits at lists.llvm.org
Fri Apr 2 04:49:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b82b305cf94a57a7e0e72f576b85aaa136a505c3
      https://github.com/llvm/llvm-project/commit/b82b305cf94a57a7e0e72f576b85aaa136a505c3
  Author: Jeroen Dobbelaere <jeroen.dobbelaere at synopsys.com>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    A llvm/test/Transforms/InstCombine/oss_fuzz_32759.ll

  Log Message:
  -----------
  [InstCombine] Fix out-of-bounds ashr(shl) optimization

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

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D99792




More information about the All-commits mailing list