[all-commits] [llvm/llvm-project] 5d67d8: [InstCombine] prevent crashing/assert on shift con...

RotateRight via All-commits all-commits at lists.llvm.org
Sun Nov 17 14:32:26 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d67d81f484f935b709918ad99462e32efa3b17a
      https://github.com/llvm/llvm-project/commit/5d67d81f484f935b709918ad99462e32efa3b17a
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2019-11-17 (Sun, 17 Nov 2019)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
    M llvm/test/Transforms/InstCombine/shift-logic.ll

  Log Message:
  -----------
  [InstCombine] prevent crashing/assert on shift constant expression (PR44028)

The binary operator cast implies an instruction, but the matcher for shift does not:
https://bugs.llvm.org/show_bug.cgi?id=44028




More information about the All-commits mailing list